Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
947
About Setting X-axis of Scatter Chart as DateTime
posted

Hi,

First, can X-axis of Scatter Chart set as DateTime?

At the moment, I have tried getting values for x-axis as String and also as DateTime, but none of them work.

 In my axis setting, I have done the following:

_chart.Axis.X.Labels.ItemFormat = AxisItemLabelFormat.DataValue;

_chart.Axis.X.Labels.ItemFormatString = "<DATA_VALUE:MM/dd/yyyy>"

(And tried "<DATA_VALUE:MM-dd-yyyy>", <DATA_VALUE:mm-dd-hh> , and all other time syntax)

 However, I always got on the graph as the FormatString (and not populated with the actual data).

Am I missing something, or Scatter Chart simply do not support this???

Parents Reply Children