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
95
UltraChart Data Point Labels
posted

Ok, I have a simple UltraChart of ScatterChart type. I do a series, it plots a few items, now I need to label those damn things and spent half of a day just to figure that out... Damn charts were suppose to save us time, doing quite the opposite!

 And I am not talking about AXIS labels, I am talking about labelling those Triangles that I see on the chart....

 Here is my code:

DataTable dt = GetChartData();
XYSeries myChart = new XYSeries();for (int i = 0; i < dt.Rows.Count; i++)

{

myChart.Points.Add(
new XYDataPoint(double.Parse(dt.Rows[ i][0].ToString(), double.Parse(dt.Rows[ i][1].ToString()), dt.Rows[ i][2].ToString(), false));

}

UltraChart1.Series.Add(myChart);

 

What to do?