Hello,
I hve line chart having 2 y axis. I am able to draw 2 y axis but on secondary axis value on top gets as cut.
I am creating dataseries like(In short Code)
I am attaching image .
On primary Y axis all values are showing properly.
Please give solution why its showing on that axis only.
I hve line chart having 2 y axis. I am able to draw 2 y axis but on secondary axis value on top gets as cut.
I am creating dataseries like(In short Code)
DataSeries dsLineSeries = new DataSeries();
foreach (ChartData itemRatio in items)
{
DataPoint dp = new DataPoint();
dp.YValue = itemRatio.YValue;
dsLineSeries.Add(dp);
}
if (radChart.DefaultView.ChartArea.AdditionalYAxes.Count > 0)
radChart.DefaultView.ChartArea.AdditionalYAxes.Clear();
if (chartData.Count == 2)
{
AxisY secondaryAxis = new AxisY();
radChart.DefaultView.ChartArea.AdditionalYAxes.Add(secondaryAxis);
radChart.DefaultView.ChartArea.AdditionalYAxes[0].AxisName =
"Secondary";
}
radChart.DefaultView.ChartArea.DataSeries.Add(dsLineSeries);
I am attaching image .
On primary Y axis all values are showing properly.
Please give solution why its showing on that axis only.