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
145
Numeric YAxis tick marks to have Value range, means Y axis tick mark values need to be like 1, 100, 1 k, 1 m, 1 b...
posted

Hi, 

I am having a Sales timeline chart, and keeping in mind the chart Area space and Values in YAxis, I can not have exact no in tick marks like $123456789, rather would have $1.23 b, $2.56 m as example.

So need some sort of converter or kind of that to pass the values through. But I just found string formats are allowed on Label like "{}{:N}" which is not serving my purpose.

This below is what I did already.. please get me a way to have this above said problem solved.

<ig:XamDataChart.Axes>
           <ig:NumericYAxis x:Name="YAxisLine"
                    Interval="{Binding IntervalY}"
                    MinimumValue="{Binding MinimumY}"
                    MaximumValue="{Binding MaximumY}"
                    Label="{}{:N}" 
                    MajorStrokeThickness="0"
                    MinorStrokeThickness="0"                                            
                    StrokeThickness="1" />

Thanks you.

-Manas

 

  • 138253
    Offline posted

    Hello Manas,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

  • 138253
    Offline posted

    Hello Manas,

     

    Thank you for your post. I have been looking into it and I can suggest you see this forum thread:

     

    http://ko.infragistics.com/community/forums/t/45888.aspx

     

    where it is explained how you can use converter in order to format the Label. Please let me know if this helps you or you have further questions on this matter.

     

    Looking forward for your reply.