-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I would like the time on the graph to be displayed in french format, but i can't make it work on linux!
This is the peace of code that I am using:
DateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy H:m");
Date d = dateFormat.parse(date);
long time = d.getTime();
xymodel.addValue("mytittle", time, y);
But on the graph the time is displayed in the format MM-DD-YY.
thanks for your help
How do you display your "time"? Using what component? It is better that you can provide a SIMPLE RUNNABLE sample zul code that will reflect your issue.
Hi,
Here is how I am displaying the graph:
<chart id="timeseries" title="Mygraph" width="700" height="500" type="time_series" threeD="false" fgAlpha="128" />
<zscript>
XYModel xymodel = new SimpleXYModel();
timeseries.setModel(xymodel);
</zscript>
When I mousse over my graph I get something like Mygraph:( time,y) and here the time is displayed as MM-dd-yyyy H:M I want it to be
I would really appreciate your help.
Thanks
Asked: 2010-06-13 16:33:37 +0800
Seen: 903 times
Last updated: Jun 20 '10