I have a datereader with two fields like column1 as hours=5,6,7,8,9,10,11,12,13,.......,23. column2 as Count=10,20,0,40,.... and i am binding to chartcontrol
y-axis=count should be display.
I have written code like: Chart1.Series["Series1"].Points.DataBind(dr, "Hour Of Day", "Total", "Tooltip=Hour Of Day, Label=Total");
By this i am displaying count on Y-axis in vertical but X-axis is not displaying as 5,6,7,8,9,10,11,12,13,.......,23 it is showing like 00:00,00:00,00:00....
so should i change.. to display in correct way like x-axis 5,6,7,8,..... datareader values.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)