-
Notifications
You must be signed in to change notification settings - Fork 6
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
Ready-to-use scatter plot class #22
Comments
Should the interaction possibilities (e.g. "select area and zoom into it") be predefined by the ScatterPlot class or should the user also be able to define his own interactions? |
I'd say the developers should be able to define their own interactions in addition to "standard" interactions which are panning, scroll zooming, and area zooming. |
As already discussed internally A similar functionality for clicking on a scatter plot point should also be supported, e.g. Not discussed internally This should at least allow for a convenient implementation of most conventional scatter plot interactions. (Please excuse my ignorance of the current point set/dataset structure of the scatterplot class in my suggested method signatures) |
TODO for me: check class for open issues. If ok, it can be merged. |
A lasso selection was introduced in branch rope-selection https://github.com/hageldave/JPlotter/tree/rope-selection |
@lvcarx you mentioned that the branch https://github.com/hageldave/JPlotter/tree/temp-scatterplot-and-barchart had fixes which should be adopted. I don't want this temporary branch to be merged with anything (rather delete it at some point). So could you please copy the fixes? I think they are in these two commits: |
now in master as of 5758ffc |
When creating a scatter plot in JPlotter, the usual setup works something like this:
Points
objects and fill with coordinates from dataPoints
in newPointsRenderer
PointsRenderer
as content of newCoordSysRenderer
CoordSysRenderer
as renderer of yourJPlotterCanvas
instanceCoordSysScrollZoom
,CoordSysAreaSelector
,CoordSysPanning
This is a lot of setup for a standard chart.
To allow developers to quickly create a scatterplot of their data, an extensible convenience class for a scatter plot needs to be developed.
The class should also allow for an easy setup of interaction schemes, e.g. mouseover, point selection, area selection.
The text was updated successfully, but these errors were encountered: