+ Reply to Thread
Results 1 to 2 of 2

Scatter Chart Axis as text C#

  1. #1
    Pablo Villalobos via OfficeKB.com
    Guest

    Scatter Chart Axis as text C#

    Hi, I'm creating a scatter chart in C#, and I need its X axis values to be
    dates or strings that represent dates... the data source where I get the
    data from is a DataTable with 2 columns... X,Y, which X are dates and Y
    floats, can Anyone help me display the dates in the X axis...?

    Pablo

    --
    Message posted via http://www.officekb.com

  2. #2
    Tushar Mehta
    Guest

    Re: Scatter Chart Axis as text C#

    A XY Scatter chart can have dates on the x-axis without any additional
    work. Just make sure you have the dates set up as XL understands them
    (which I believe is how all MS Office apps understand them). The whole
    number part is the number of days since 1/1/1900 (or 1/1/1904 if using
    that date numbering system) and the fraction part represents the time
    of day (0.0 is midnight; 0.5 is midday; and 0 with an increment of the
    whole number part, i.e., 1.0 being the next midnight).

    --
    Regards,

    Tushar Mehta
    www.tushar-mehta.com
    Excel, PowerPoint, and VBA add-ins, tutorials
    Custom MS Office productivity solutions

    In article <fc1e96f1ffe24bd1af72049f8a010ed0@OfficeKB.com>,
    forum@OfficeKB.com says...
    > Hi, I'm creating a scatter chart in C#, and I need its X axis values to be
    > dates or strings that represent dates... the data source where I get the
    > data from is a DataTable with 2 columns... X,Y, which X are dates and Y
    > floats, can Anyone help me display the dates in the X axis...?
    >
    > Pablo
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1