|
Group: Forum Members
Posts: 49,
Visits: 179
|
Are you adding lineChart to NChartControl object, nChartControl1 is by default added when you drop Nevron Chart Control on the form.
your linechart is inherited to NChart not the NChartControl class of ChartControl, so check this code snippet as i am creating these chart control and chart in code..
private NChartControl chartControl; chartControl = new NChartControl();
NChart chart = new NChart();
chartControl.Charts.Add(chart);/// chart is your lineChart..
so chartControl.Controller.Tools.Add(new NTooltipTool()) will work.
|