Hi All,
Do we have something similar to the IlvDefaultDataSet (setDataLabel/getDataLabel options) in Jfree for XYDataset ?
-Thanks
Can a dataLabel be set to a XYDataset ?
-
- 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 ?
What's "IlvDefaultDataset"? What do you mean by "data label"? I don't really understand the question.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Can a dataLabel be set to a XYDataset ?
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).
@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).