C# Programming
12-03-2009, 10:30 AM
hello there...
I need to do a graphic like this one:
http://zedgraph.org/wiki/index.php?title=Stacked_Bar_With_Labels_Demo_v4[^ (http://zedgraph.org/wiki/index.php?title=Stacked_Bar_With_Labels_Demo_v4)]
but the x axis values need to be date and the first value is the current datetime.
I am using the code you find in the link, but added this line:
myPane.XAxis.Type = AxisType.Date;
myPane.XAxis.Min = (double)new XDate(DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")));
and the x1,x2,x3 variables set with
(double)new XDate(.....)
can someone help me??
sorry my English! :P
I need to do a graphic like this one:
http://zedgraph.org/wiki/index.php?title=Stacked_Bar_With_Labels_Demo_v4[^ (http://zedgraph.org/wiki/index.php?title=Stacked_Bar_With_Labels_Demo_v4)]
but the x axis values need to be date and the first value is the current datetime.
I am using the code you find in the link, but added this line:
myPane.XAxis.Type = AxisType.Date;
myPane.XAxis.Min = (double)new XDate(DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")));
and the x1,x2,x3 variables set with
(double)new XDate(.....)
can someone help me??
sorry my English! :P