Can a dataLabel be set to a XYDataset ?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
yogiyogi
Posts: 4
Joined: Fri May 08, 2009 6:57 am

Can a dataLabel be set to a XYDataset ?

Post by yogiyogi » Mon Jun 15, 2009 1:31 pm

Hi All,
Do we have something similar to the IlvDefaultDataSet (setDataLabel/getDataLabel options) in Jfree for XYDataset ?

-Thanks

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: Can a dataLabel be set to a XYDataset ?

Post by david.gilbert » Mon Jun 15, 2009 10:51 pm

What's "IlvDefaultDataset"? What do you mean by "data label"? I don't really understand the question.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: Can a dataLabel be set to a XYDataset ?

Post by paradoxoff » Tue Jun 23, 2009 2:22 pm

IlvDefaultDataset is a part of a commercial charting package "ILogView" (never used, didn´t need to thanks to JFreeChart).
@yogiyogi: Try assigning an XYItemLabelGenerator to the XYItemRenderer that is used to render your XYDataset (i.e. the "data label" is generated by the renderer and not by the dataset. IMHO the better architecture).

Locked