Range and Interval problem
I try to have always the same interval(Interval=1) on the X-Axes, even though I change the range from the X-Axes. So thats actualy not a problem I thought. I set the ChartAxis property IsAutoSetRange=false and the ChartSeries property IsIndexed=false. Everything works fine when the range is from 0 to any number but when I set the range from 10 to 20 the interval will change from 1 to 2 or when I put the range 10,30 the Interval will change to 3.
Why it changes the interval? Have I forgot something?
To see this issue on an example you can open the example in essential Studio: Chart/Chart Axis/Chart Axis Configuration Demo than set the interval to 1, disable AutoSetRange and enter range: 0,20 -> everything ok
now enter range 10,20 -> the interval will change...
Is there a way to have always the entered interval?
Thanks for your help
Ben
Hi Ben,
We have analyzed the stated issue. This is due to IntersectAction behavior
of Chart Axis. The IntersectAction property has been set default hide. So you can achieve it by
applying IntersectAction as ChartAxis. Please find the code snippet below:
Code snippet [XAML]:
<syncfusion:ChartAxis x:Name="XAxis" Range="10,30" Interval="1" IntersectAction="Rotate" SmallTickSize="5" TickLinesRange="1" TickSize="15" RangePadding="Normal" Header="Number of Cars Sold" IsAutoSetRange="False" >
Please find the more details about the IntersectAction property in our documentation.
Documentation
link: http://help.syncfusion.com/UG/User%20Interface/WPF/Chart/default.htm#!Documents/intersectinglabels1.htm
Please let us know if this helps.
Regards,
Karthikeyan V.
Thank you for your reply. Unforthunately your suggestion didn't solve my problem.
I put the intersectAction property into the sample code:
<syncfusion:ChartAxis x:Name="XAxis" Range="7,30" Interval="1" IntersectAction="Rotate" SmallTickSize="5" TickLinesRange="1" TickSize="15" RangePadding="Normal" IsAutoSetRange="False">
So actually the interval is not 1 as expected, have you got another idea how to have always the declared interval?
Thank you for your support
Regards,
Ben
Hi Ben,
We are analyzed the reported issue. We are unable to
reproduce the problem in our side, let us know the version that you are using.
As in our latest version particular scenario is working well. Could you
please provide us the details?
Please let us know, if you have any query.
Regards,
Karthikeyan V.
- 3 Replies
- 2 Participants
-
TB Tanner Benjamin
- Oct 31, 2012 02:49 PM UTC
- Dec 13, 2012 04:40 AM UTC