in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

axis x DateTimeMeasureUnit

Last post 10/24/2008 8:36 AM by Laura Piono. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 10/22/2008 10:26 AM

    axis x DateTimeMeasureUnit

     Hi,

    I create a webchartcontrol and the axis x is a time line (24 h).

    I set

    AxisBase axis = ((XYDiagram)this.WebChartControl1.Diagram).AxisX;
    axis.DateTimeMeasureUnit = DateTimeMeasurementUnit.Minute;
    axis.GridSpacing = 60;
    axis.DateTimeOptions.Format = DateTimeFormat.Custom;
    axis.DateTimeOptions.FormatString = "%H";

    the axis line write example:

    6 | | | | 7 | | | | 8 | | | | 9 etc.

    but the '|' not rappresent the quarter of hour because the number of '|' is 4 and not 3 (6, 6.15, 6.30, 6.45, 7...)

    How to implement this axis?

    Thanks,

    Laura

  • 10/22/2008 12:44 PM In reply to

    Re: axis x DateTimeMeasureUnit

    Hi,

    Try axis.MinorCount = 3;

    John

  • 10/24/2008 8:36 AM In reply to

    Re: axis x DateTimeMeasureUnit

     Thank you very much John.

    I have another question...

    On WebChartControl have argument = 6:00 but the bar is created in half.

    (I can not insert an image with insert/edit image or I don't see attach file)

    Thanks,

    Laura

Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED