Results 1 to 2 of 2

Thread: DateTime Data Problems in Silverlight and C#

  1. #1

    DateTime Data Problems in Silverlight and C#

    DateTime Data Problems in Silverlight and C#

    Hello Forum.

    I am using VISI Fire in Silverlight and C# to produce some data charts. One style of chart allows stacked data to be displayed in colums the xaml code I am using looks like this

    The chart i am trying to build is based on a visi fire chart example. if you go to and look at their stacked examples here you can see the xaml example I am trying to emulate.

    But my chart comes out differently. mine has this odd overlaping date feature

    Now, I have carefully stepped through the code and as far as I can tell, I have the same date for each data set pair.

    I have stepped through this code and I have made sure that with each value for i, the years and the months for each data pair are exactly the same. So why is my graph so messed up?

    Is there something wrong with they way I am using the DateTime class?

    new DateTime((Int32) Year_Id,(Int32) SMonth_Id, (Int32)1);

  2. #2
    Here is the fix:

                            <vc:Axis ValueFormatString="MMM - yyyy" Padding="4" LineThickness="0" IntervalType="Months"  Interval="1"/>

Similar Threads

  1. Data Security: Secure the server data by your self
    By Abhijeet Phatak in forum Network Security
    Replies: 1
    Last Post: 05-30-11, 02:13 AM
  2. MS Silverlight?
    By Easto in forum Software Forum
    Replies: 2
    Last Post: 08-02-10, 02:37 PM
  3. MS silverlight audio problem
    By YARDofSTUF in forum Software Forum
    Replies: 8
    Last Post: 07-01-09, 11:38 AM
  4. What is Microsoft Silverlight?
    By Brent in forum General Discussion Board
    Replies: 8
    Last Post: 02-27-08, 09:29 PM
  5. Datetime Substitutions
    By markvivian in forum Programming Forum
    Replies: 1
    Last Post: 10-11-04, 01:17 AM


Posting Permissions

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