Adding more symbols to SymbolAxis

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jeeper
Posts: 1
Joined: Tue Sep 15, 2015 9:17 am
antibot: No, of course not.

Adding more symbols to SymbolAxis

Post by jeeper » Tue Sep 15, 2015 9:32 am

I am using SymbolAxis as value axis in XYPlot and I want to add more symbols to the axis after the plot is created and shown.

Like the plot is created with assigned symbol axis ("a", "b", "c") and I want to add "d".

Is this possible to do ? or there are alternative ways ?

Thank You

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: Adding more symbols to SymbolAxis

Post by paradoxoff » Tue Sep 15, 2015 2:11 pm

The symbol array of a SymbolAxis is read only. All you can do is to create a new SymbolAxis with a different symbol array and assign that to the plot.

Locked