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
90
CategoryDateTimeXAxis Question
posted

Hi,

 I am trying to skip some days inside CategoryDateTimeXAxis but it did not worked.

See screenshot bellow.

 

 Declaration of the axis is following(Please note that i am trying to bind collections of the dates which is property of my ViewModel):

<ig:CategoryDateTimeXAxis Style="{StaticResource CategoryXAxisStyle}" x:Name="xmXAxis" ItemsSource="{Binding XAxisRange}" Label="{}{0:dd MMMM yyyy}" DisplayType="Discrete" Interval="10" DateTimeMemberPath="." >

                    <ig:CategoryDateTimeXAxis.LabelSettings>

                        <ig:AxisLabelSettings Location="OutsideBottom" Visibility="Visible"  />

                    </ig:CategoryDateTimeXAxis.LabelSettings>

 </ig:CategoryDateTimeXAxis>

Style used for axis:

            <Style x:Key="CategoryXAxisStyle" TargetType="ig:CategoryDateTimeXAxis">

                <Setter Property="StrokeThickness" Value="2" />

                <Setter Property="Strip" Value="Transparent" />

                <Setter Property="Stroke" Value="LightGray" />

                <Setter Property="MajorStroke" Value="LightGray" />

                <Setter Property="MinorStroke" Value="Transparent" />

                <Setter Property="FontSize" Value="4" />

            </Style>

 Also it would be nice to have only specific dates to be shown. For example only first date on particular month.

Thanks in Advance

Parents Reply Children
No Data