category « Legend « JFreeChart Q&A





1. How to make a "legend" for long category names?    jfree.org

Hi all. Just started looking at JFreeChart. On my opinion. Last version(s) of the product gives good ability to "wrap" entities if entity name is too long. For example if my Category name consist of 30 letters JFreeChart correctly cuts is to less amount of letters and displays them followed by points. It is really good feature indeed. I wonder is ...

2. Legend help - one category per line?    jfree.org

A followup to this: - What I ended up doing to make a 'list-style' legend in a chart image is to addValue() or setValue() (depending on the type of chart) categories at a set String length in repect to the chart image's width, either by padding spaces or truncate characters if necessary to make it fit. Works fine for my needs. ...