Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCChart2D for Java
 ScatterPlot NumericLabels

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

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.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07