Search found 2 matches
- Mon Apr 12, 2010 2:55 pm
- Forum: JFreeChart
- Topic: Custom CategoryAxis Labels
- Replies: 3
- Views: 7745
Re: Custom CategoryAxis Labels
Hello, I resolved this issue. First I had to switch to an XYPlot because I had to be able to connect two non-consecutive points with a line. A LineAndShapeRenderer did not allow me to do this. Second, I extended SymbolAxis to create a new version. Inside this class, I overrode two methods: valueToSt...
- Thu Apr 08, 2010 5:11 pm
- Forum: JFreeChart
- Topic: Custom CategoryAxis Labels
- Replies: 3
- Views: 7745
Custom CategoryAxis Labels
Hello, I'm looking for a way to provide custom labels for a CategoryAxis object. The chart I have contains a bunch of columns. I outline a dumbed-down example of what I want to do. My situation is more complex in terms of the labels I want to show, but the following example explains what I'm looking...