Hello,
I'm wondering if it's possible to set the interval for the minor stroke of a CategoryDateTimeXAxis? Right now I am setting the interval property for the axis, which sets the interval of the major stroke properly, but the minor stroke is still being determined automatically, which is not particularly helpful. For example, if I set the interval to 1 minute, the major stroke appears correctly every minute, but then the minor strokes will split the minute into 5 parts, meaning a minor stroke appears every 12 seconds - not particularly helpful... ideally if the major stroke is 1 minute I'd like to have the minor strokes appear every 10 seconds. The situation is even worse when the interval is 1 day, and then the minor strokes appear every 4.8 hours...
So, is it possible to set the interval for the minor stroke as well as the major stroke?
Thanks
Hi,
Currently it is not possible to set the internval of the minor lines. It is determined automatically based on how much physical space is available between the major lines. In 11.2 you will have access to a feature called custom tickmarks that should allow you more control over these decisions, however.
Hope this helps!
-Graham
Actually, I may have spoke too soon. I don't believe that this functionality is available for the CategoryDateTimeXAxis, I would suggest filing a feature request for greater control over the minor grid lines in this case.
http://help.infragistics.com/Help/NetAdvantage/WindowsPhone/2011.2/CLR4.0/html/xamDataChart_Creating_Custom_Axis_Tickmark_Values.html
Hi Graham I was looking at the example above which is the same as the link you
sent except it has the code behind and I'm bit confused on :
</ig:XamDataChart.Axes> <ig:NumericYAxis Name="yAxis" Label="{}{} %" > <!-- ========================================================================== --> <ig:NumericYAxis.TickmarkValues> <common:CustomTickmarkValues /> </ig:NumericYAxis.TickmarkValues> <!-- ========================================================================== --> </ig:NumericYAxis> </ig:XamDataChart.Axes>What I'm confused on is the TickmarkValues. If I type in <ig:NumericYAxis there is no TickmarkValues property listed. The code behind also has an Inherits TickValues which is not found when I try to user that codebehind sample. I'm guessing that sample is part of a solution such as the Xam Feature Browser and there is something I'm not seeing.
ig
:
XamDataChart.Axes
>
<
NumericYAxis
Name
="yAxis"
Label
="{}{} %"
<!-- ========================================================================== -->
NumericYAxis.TickmarkValues
common
CustomTickmarkValues
/>
</
>What I'm confused on is the TickmarkValues. If I type in <ig:NumericYAxis there is no TickmarkValues property listed. The code behind also has an Inherits TickValues which is not found when I try to user that codebehind sample. I'm guessing that sample is part of a solution such as the Xam Feature Browser and there is something I'm not seeing.
In version 11.2, for the numeric axes, you should be able to set the number of minor tickmarks through the use of the Custom Tickmarks feature: http://samples.infragistics.com/sldv/RunSamples.aspx?cn=data-chart#/data-chart/custom-axis-tickmarks
Hi Graham,
I'm going to take a wild guess here and say that it is the same case for the NumericXAxis/NumericYAxis as well?
11.2 is very imminent, and locked down, so it wouldn't make it into 11.2. Whether it makes it into 12.1 will depend on how it gets prioritized. Its not a large change to the chart, however.
Ok, I've created a feature request. If this feature is selected, is it a possibility that it would be available for the next release? Also, when is the release of 11.2 scheduled?