You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a line chart in JPlotter, the usual setup works something like this:
create Lines objects and fill with line segment from data/sampled function
for figuring out the segments coordinates it may be required to transform from some datatype to a numerical value. E.g. from LocalDateTime to double when dealing with time oriented data.
put Lines in new LinesRenderer
set or add LinesRenderer as content of new CoordSysRenderer
set CoordSysRenderer as renderer of your JPlotterCanvas instance
optional: add Points + PointsRenderer for points on the line from data
optional: setup interaction capabilities, e.g. CoordSysScrollZoom, CoordSysAreaSelector, CoordSysPanning
optional: setup custom interaction schemes through mouse/key listeners (e.g. highlighting line on mouse over)
This is a lot of setup for a standard chart.
To allow developers to quickly create a line chart 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, line selection, ...
There is also special care to be taken for the tick mark labeling of the axes depending on the unit that is represented (e.g. time). Unfortunately we cannot support every possible unit, so instead a generic approach has to be thought of where deevelopers need to provide some kind of converter from numerical value (double) to a string representation of the respective datatype/unit.
This is related to issue #8. However, I think this tick mark labeling topic may be a whole issue on its own. So for the moment we will ignore it, and integrate it later into the line chart class.
The text was updated successfully, but these errors were encountered:
When creating a line chart in JPlotter, the usual setup works something like this:
Lines
objects and fill with line segment from data/sampled functionLocalDateTime
todouble
when dealing with time oriented data.Lines
in newLinesRenderer
LinesRenderer
as content of newCoordSysRenderer
CoordSysRenderer
as renderer of yourJPlotterCanvas
instancePoints
+PointsRenderer
for points on the line from dataCoordSysScrollZoom
,CoordSysAreaSelector
,CoordSysPanning
This is a lot of setup for a standard chart.
To allow developers to quickly create a line chart 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, line selection, ...
There is also special care to be taken for the tick mark labeling of the axes depending on the unit that is represented (e.g. time). Unfortunately we cannot support every possible unit, so instead a generic approach has to be thought of where deevelopers need to provide some kind of converter from numerical value (double) to a string representation of the respective datatype/unit.
This is related to issue #8. However, I think this tick mark labeling topic may be a whole issue on its own. So for the moment we will ignore it, and integrate it later into the line chart class.
The text was updated successfully, but these errors were encountered: