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
175
XamWebTimeline : Modify horizontal timeline label
posted

Hi,

I am using XamWebTimeline and I want to edit the horizontal timeline labels as follows.

Min value = 10, Max value = 14

I want it to display as Oct, Nov, Dec, Jan,Feb.

Have a look at the attached sample application and screen shot.

Please provide a solution for this

WebTimeLine.zip
Parents
  • 17605
    posted

    You can try using DateTime values and format their labels. Try using this code:

    <ig:DateTimeAxis AutoRange="False"

                                     Minimum="01/01/2000"

                                     Maximum="05/01/2001"

                                     Unit="1"

                                     UnitType="Months">

                        <ig:DateTimeAxis.LabelStyle>

                            <Style TargetType="ig:AxisLabel">

                                <Setter Property="StringFormat" Value="MMM" />

                            </Style>

                        </ig:DateTimeAxis.LabelStyle>

                    </ig:DateTimeAxis>

Reply Children