Apologies for the late reply, while it has been a long time since I have updated Spectrum, I believe what you are after is how the graphview is used and what the coordinates are.
Most of the graphview plotting is done in the MainActivity and I am using the following libraries to achieve this:
Depending on what you are after, you may want to check out some of my graphview functions to get the graph coordinate system setup:
public void initGraph(GraphView graph) {
graph.getViewport().setXAxisBoundsManual(true);
graph.getViewport().setMinX(0);
graph.getViewport().setMaxX(10);
graph.getGridLabelRenderer().setLabelVerticalWidth(100);
// first mSeries is a line
mSeries = new LineGraphSeries<>();
mSeries.setDrawDataPoints(true);
mSeries.setDrawBackground(true);
graph.addSeries(mSeries);
}
Hi there,
Apologies for the late reply, while it has been a long time since I have updated Spectrum, I believe what you are after is how the graphview is used and what the coordinates are.
Most of the graphview plotting is done in the MainActivity and I am using the following libraries to achieve this:
Depending on what you are after, you may want to check out some of my graphview functions to get the graph coordinate system setup:
Hope this helps. :)