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
695
Minimum time unit for the X-Axis
posted

Is it possible to plot a time / value series. I want the Unit to refer to the minute section of the date. Is this possible or i have to amend the data ?

Below is the XAML i am using

                <igCA:Axis AxisType="PrimaryX" AutoRange="False"
                           Minimum="{Binding Converter={StaticResource DateConverter1}, ConverterParameter=20/2/08 22:20:00}"
                        Maximum="{Binding Converter={StaticResource DateConverter1}, ConverterParameter=20/2/08 22:30:00}" Unit="1">
                    <igCA:Axis.MinorTickMark>
                        <igCA:Mark Unit=".2" Stroke="Red"/>
                    </igCA:Axis.MinorTickMark>
                </igCA:Axis>

Parents
  • 28496
    Offline posted
    i think Unit needs to be a number of Ticks.  it actually depends on how you're converting DateTimes to doubles in DateConverter1, but assuming you're using the DateTime.Ticks property, try setting Unit to the number of Ticks in one minute, or 2160000000000.
Reply Children