Legend with LineGraph

Aug 25, 2011 at 4:47 AM

Hi!

Please, tell me how can I change the string in Legend when I use LineGraph?
I can create a chart, using following code:

lg = new LineGraph(CreateCurrencyDataSource(LoadStockRates(Convert.ToInt32(item[0].GPRST_USK_ID))));
lg.LinePen = new Pen(new SolidColorBrush(colors[color_id]), 2);
plotter.Children.Add(lg);

What can I do for changing name of this chart in Legend?

Thanks!