Custom Tick Labels on Y-Axis in BarChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
PrinceofToys
Posts: 2
Joined: Thu Nov 13, 2014 9:14 am
antibot: No, of course not.

Custom Tick Labels on Y-Axis in BarChart

Post by PrinceofToys » Thu Nov 13, 2014 9:33 am

Hello, i am new to JFreeChart and i am excited about it :)

Now i have to show in a BarChart usetimes of Computer rooms. I calculate it to Minutes to show it in BarChart more easily (so only a Integer to calculate with). Now i want to change the Tick Labels in a format like this: h*:mm and i tried it with NumberAxis and Numberformat and with SymbolAxis. But with SymbolAxis i have to set the number of Ticks by myself. I want to calculate the ticks by the BarChart and only set the Labels as a String. Is there any way to get the calculated Ticks and altering only their Label ?

I have now this Chart:

Image

I want to change the Tick Labels to the format described above cause originally the data source is a time in format hh:mm.
Intention is to show a Usetime over a period of Time for multiple rooms in a BarChart. (Like a PivotTable in Excel )

Image

Sorry for idiot Question i am not a professional Programmer.

PrinceofToys
Posts: 2
Joined: Thu Nov 13, 2014 9:14 am
antibot: No, of course not.

Re: Custom Tick Labels on Y-Axis in BarChart

Post by PrinceofToys » Thu Nov 27, 2014 7:34 am

*push*

Locked