jfree time period

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
youyiming
Posts: 2
Joined: Wed Aug 11, 2010 3:45 am
antibot: No, of course not.

jfree time period

Post by youyiming » Wed Aug 11, 2010 4:09 am

Hi,i want to have a time period chart.I have found an example in http://www.java2s.com/CN/Code/Java/Char ... sDemo2.htm.In this example,X axis is time period,and Y axis is the value,and the value in Y axis is numeric.But i want to show some special string in Y axis, for example, I want to show "up" in Y axis when the value is 1,and show "down" in Y axis when the value is 0?Any body can tell me how to implement it?

youyiming
Posts: 2
Joined: Wed Aug 11, 2010 3:45 am
antibot: No, of course not.

Re: jfree time period

Post by youyiming » Wed Aug 11, 2010 4:14 am

By the way,my email is crazyyouyiming@163.com,you can contact me at any time.

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Re: jfree time period

Post by skunk » Wed Aug 11, 2010 1:53 pm

Code: Select all

org.jfree.chart.axis.SymbolAxis

Locked