Multiline « ToolTip « JFreeChart Q&A





1. Multiline tooltips in BarCharts    jfree.org

2. Multiline Tooltips?    jfree.org

3. Multiline tooltip not working    jfree.org

I have following code barRenderer.setBaseToolTipGenerator(new CategoryToolTipGenerator(){ public String generateToolTip(CategoryDataset dataset, int series, int bar) { return "" + "A" + "
"+ "B" + ""; } }); but in browser changes to <html> and
is not taking effect. So no line breaks are coming and even html tags are appearing in tooltip