-
-
Notifications
You must be signed in to change notification settings - Fork 112
Ohlc trace type #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ohlc trace type #264
Conversation
See this issue for more explanations: plotly/plotly.js#2281
… if no trace.name was set by user
ok @nicolaskruchten would you like to give this a review? if you have a moment to take a look @bpostlethwaite I wouldn't refuse either :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃 seems reasonable to me. Not 100% sure I grok the implications of fullInput
but it looks OK.
src/DefaultEditor.js
Outdated
/> | ||
</Section> | ||
|
||
<Section name={_('Increasing Trace Styles')}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be "Decreasing" instead of "Increasing" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, yes, 🙈
@@ -1,6 +1,6 @@ | |||
import React, {Component} from 'react'; | |||
import ReactDOM from 'react-dom'; | |||
import plotly from 'plotly.js/dist/plotly-basic'; | |||
import plotly from 'plotly.js/dist/plotly'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm this might cause an issue with webpack when uglifying... The test I'm running now is almost at 10 minutes and it's still not done :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-basic
took 153s to complete with webpack -p
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but this is what I need to get all my other chart types..
if I don't have this, I only get the basic 5 chart types, I think it's ok that we add a fuller version into the dev env
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the dev env ok but this won't work for something like the simple app: we'll need to load plotly.js the proper way i.e. not from dist
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah I see : ) ok, well, I'll merge this for now
I'll link this issue here for reference, about the difference of _fullInput vs _fullData: plotly/plotly.js#2281 But, I know that for composed traced types, like financial charts, the true attributes of the trace are in _fullInput. However, _fullInput doesn't seem to contain everything that _fullData contains. Well, we should be good for now I think :) |
ohlc attributes: https://github.com/plotly/plotly.js/blob/master/src/traces/ohlc/attributes.js