I have chart having two Y-axis, one on left of the chart and the other on the right. In the attached image i want to hide the labels from the right Y axis which have negative values. (-50% , -100%). Can u please help me with it.
This feature is not supported out of the box. However there is a workaround you could use in order to achieve similar scenario.
Wire to the Chart's BeforeLayout event and set the value of each ChartAxisItem which YAxis2 Value is < 0 in radChart.PlotArea.YAxis2.Items to empty string like this:
foreach (ChartAxisItem axisItem in radChart.PlotArea.YAxis2.Items)
{
if (axisItem.Value < 0)
{
axisItem.TextBlock.Text = " ";
}
}
}
For your convenience I've attached a sample project you could refer to.
If this solution does not fit your needs, we will need a sample screenshot of the desired result as well as any additional information that can be helpful.