T O P I C R E V I E W |
RunnerGirl |
Posted - 15 Feb 2008 : 15:47:55 Is there a way to show the data point values of a scatter plot?
Here's what I have so far but the datapoint values are not being displayed:
attrib4.setFillFlag(true); attrib4.setSymbolSize(20); SimpleScatterPlot thePlot2 = new SimpleScatterPlot(pTransform1, Dataset2, ChartConstants.SQUARE, attrib4); thePlot2.setShowDatapointValue(true); NumericLabel modellabel = new NumericLabel(); modellabel.setXJust(ChartConstants.JUSTIFY_CENTER); modellabel.setYJust(ChartConstants.JUSTIFY_MIN); modellabel.setColor(Color.red); Font modellabelfont = new Font("SansSerif", Font.PLAIN,10); modellabel.setTextFont(modellabelfont); thePlot2.setPlotLabelTemplate(modellabel); gWG.addChartObject(thePlot2);
|
1 L A T E S T R E P L I E S (Newest First) |
quinncurtis |
Posted - 15 Feb 2008 : 17:12:02 Sorry, but SimpleScatterPlot method does not implement data point values. The SimpleLineMarkerPlot is the closest, connecting the scatter plot values with a line. I can't see any reason why it should not be included as part of the SimpleScatterPlot and will see that it gets added to the next revision of the software.
|
|
|