Home Forums WinForms controls Xceed Chart for WinForms DateTime on X axis on Mesh/Grid Surface

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #19149 |

    Hello,

    is it possible to format the X axis of the Grid Surface as a DateTime? If I do:

    chart.Axis(StandardAxis.PrimaryX).ScaleMode = AxisScaleMode.DateTime;
    chart.Axis(StandardAxis.PrimaryX).ValueFormatting.Format = ValueFormat.Time;

     The X axis displays 00:00 for each point. I know the data structure only allows setting int values for X/Z axis. But can I associate DateTime values and use these instead (like for Bar Charts for instance)?

    Also, I’m interested in formatting DateTimes on the Vertical axis and other custom formatting (say, percents) for all axes.

     

     Thank you.

    Imported from legacy forums. Posted by toqa (had 1648 views)

    User (Old forums)
    Member
    Post count: 23064

    I solved this with labels for the X and Z axes. What about the Y axis, can you do the same thing?

    Imported from legacy forums. Posted by toqa (had 751 views)

    User (Old forums)
    Member
    Post count: 23064

    Hello,

    precisely what were you able to do with the X and Z axes that you now want to apply to the Y axis?  Could you give us the code you are using for the X and Z axes? 

    Imported from legacy forums. Posted by Ghislain (had 2078 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.