An idea to plot graphs like this (https://i.stack.imgur.com/AxMUu.gif) in JFreechart? Event graphs having only one axis. Example, showing the occurrence of any event at a particular time. No value or anything to put on y axis.
Any help will be appreciated!
Thanks
Single axis graphs in JFreechart
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Single axis graphs in JFreechart
Use an XYPlot, give the y axis a fixed scale (say, 1), then add your data points where x denotes the time and z has a constant value of 0.5:
Re: Single axis graphs in JFreechart
What do you mean by the z value?
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Single axis graphs in JFreechart
I intended to type "y" but used a Keyboard with a wrong layout 
