Profile Picture

Labels missing

Posted By Reimund Köhler 14 Years Ago
Author
Message
Reimund Köhler
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 3, Visits: 1
Hello,
I'm drawing a simple horizontal bar chart. While using AutoLabels=true, all is working fine. But setting AutoLabels=false, there are no labels drawn. What's my mistake?


NBarSeries series = (NBarSeries)control.Charts[0].Series[0];
series.Values.Clear();

NStandardScaleConfigurator scaleConfiguratorX = (NStandardScaleConfigurator)control.Charts[0].Axis(StandardAxis.PrimaryX).ScaleConfigurator;
scaleConfiguratorX.MajorTickMode = MajorTickMode.AutoMaxCount;
scaleConfiguratorX.AutoLabels = false;
scaleConfiguratorX.Labels.Clear();

foreach (breakageData item in this_list.Values)
{
scaleConfiguratorX.Labels.Add(item.regptName);
series.Values.Add(item.percent);
}
control.Refresh();


Regards
Reimund Köhler





Similar Topics


Reading This Topic