Missing extension Method to set legendname of lineGraphs



in the old version. It was possible to add a LineGraph to a chartplotter with a user definde name. With the new Legend this is not possible anymore.
For example.

TimeChartPlotter someCharPlotter = new TimeChartPlotter();
someChartPlotter.AddLineGraph(myList, myLegendName);

This extension method is missing now. (public static LineGraph AddLineGraph(this Plotter2D plotter, IPointDataSource pointSource, string description)).

There is something new extension method (public static T WithDescription<T>(this T chart, string description) where T : PointChartBase) but this wont work on Linegraphs because they are not derived from PointChartBase.

It would be great when this would be fixed.

Closed Dec 27, 2010 at 9:54 AM by Thecentury
Old Line Chart is not supported.


Thecentury wrote Dec 27, 2010 at 9:53 AM

Hi! I'm developing new LineChart from scratch. Old LineChart will not be included into D3. So you have to wait when new LineChart will be ready, and then you will have to start using it.
I will notify everyone in twitter when this chart will be ready.