Skip to content

DM-9944 XYPlot with plotly library #350

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

Merged
merged 9 commits into from
Apr 19, 2017
Merged

DM-9944 XYPlot with plotly library #350

merged 9 commits into from
Apr 19, 2017

Conversation

tgoldina
Copy link
Contributor

  • Converted XYPlot into XYPlotHighcharts and XYPlotly implementations.
  • Added lost click handling, to be able to select plotly chart from multi-chart viewer by a mouse click.

tgoldina and others added 8 commits March 29, 2017 09:26
…atter plot functionality (zoom, highlight, select)
handling zoom and reversed axes (when both limited range and reversed axis are requires, autorange should be false and range array should be reversed).
margin adjusted for yticks length;
tooltips are generated for new data (Firefox performance is very bad with plotly_hover)
modified colors for log scale,
general cleanup
Copy link
Contributor

@robyww robyww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good.

  • Can you go ahead and add a save png to the toolbar? I think it is really straight forward. If it is not we can do it in another ticket.

UI bug:

  • For the density, when you hover over the active point, it loses the depth (3rd) line.

UI issue:

  • it is a little hard to see the select area box. Are there option that affect how it is drawn?

@@ -111,8 +118,12 @@ export class PlotlyWrapper extends React.Component {

render() {
const {style}= this.props;
// note: wrapper div is the target for the simulated click event
// when the original click event is lost and plotly_click is emitted instead
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

glad you documented the wrapper div

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the density, when you hover over the active point, it loses the depth (3rd) line.

It's not exactly a bug. We point the point from the highlighted row, which might not be present in the decimated data. Though I can still find a bin to which the highlighted point belongs and add "represents".

@robyww robyww requested a review from loitly April 12, 2017 21:06
Copy link
Contributor

@loitly loitly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor thing. When zero points are selected via dragging, the chart is completely white-out without an indication on how to undo it. I would suggest not entering into this white-out mode if possible.
Otherwise, everything looks good. Selection and filtering work as well. 👍

When selection rectangle contains no points, remove it
Move color bar to the left, when axis is on the right
Do not adjust tick width when tick width obrained is not reasonable.
@tgoldina tgoldina merged commit 2fba617 into dev Apr 19, 2017
@tgoldina tgoldina deleted the dm-9944_xyplotly branch May 2, 2017 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants