Date Range Plotting along X-Axis


https://www.nevron.com/Forum/Topic7736.aspx
Print Topic | Close Window

By Swathi Sadasivam - 11 Years Ago
I have a Line Chart with sub type as "XY Scatter"
I have a series of dates to be plotted along the "X-Axis"
The X-Axis labels plot always shows the beginning days of weeks/Months instead of the exact dates that it gets from the DataBase. This happens for all the three step modes: "Min Distance/Max Count/Custom Step" under the "Axes->Primary X->Scale->Numeric".

Eg: If i have the following data:

Date Value
2013-02-08 600
2013-02-15 700
2013-02-22 800
2013-03-01 900

The X-Axis labels for the above data appears as "2013-02-04" "2013-02-11" "2013-02-18" "2013-02-25"
i.e. the beginning day of the week for the corresponding input dates
But the date labels need to appear along the X-Axis as they are from the Database.
By Nevron Support - 11 Years Ago
Hi Swathi,

In this case you can use a categorical (ordinal scale), which requires you to switch the series to "Series". This will show each date time as a separate category.