1. Tooltips on Legends jfree.orgHi, I m trying to display tooltips on legends - by calling the setTooltipText method of LegendItemEntity.For this I need to get an Instance of LegendItemEntity from EntityCollection, which inturn is got from ChartRenderingInfo, An instance of ChartRenderingInfo is obtained from ChartPanel. But the problem is, that the EntityCollection array is empty. I have read somewhere in the forum that this ... |
2. how to set legend tooltips jfree.orgI need to have tooltips on each entry in the legend of a standard line chart using CategoryDatasets. I noticed a method called getLegendItems() within the CategoryPlot class. So I figure I could just get each LegendItem and set the tooltip. For some reason there's no setToolTipText method in that class. So I tried compiling my own version of LegendItem with ... |
3. Legend as tooltips jfree.org |
4. LegendItemToolTipGenerator - tooltips for legend items?? jfree.org2006-10-06 David Gilbert |
5. Legend and Tool Tip in v0.9.20 jfree.orgJFreeChart pieChart = ChartFactory.createPieChart(title, pieDataset, true, true, true); PiePlot piePlot = (PiePlot) pieChart.getPlot(); piePlot.setLabelGenerator(new StandardPieItemLabelGenerator( StandardPieItemLabelGenerator.DEFAULT_SECTION_LABEL_FORMAT)); //"{0}={1} ({2})")); ... |