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
335
X axis labeling question.
posted

Is it possible to have "custom" labeling in the way that I control which label is displayed?

For example if I have a series of 20 datapoints, how can I set a label to just show the X-axis label on datapoint, say, 12 and 14 only? I tried setting the other datapoint labels to Nothing and empty string but it still displays a value.

Thanks in advance.

  • 17605
    posted

    You can hide X-axis labels with:

    <igChart:XamChart>

             <igChart:XamChart.Axes>

                    <igChart:Axis AxisType="PrimaryX">

                        <igChart:Axis.Label>

                            <igChart:Label Visible="False" />

                        </igChart:Axis.Label>

                    </igChart:Axis>

                </igChart:XamChart.Axes>