Chart: there may be no way to name default Y series
In Chart() method, we can plot additional Y series by:
chart.AddYSeries(x => x.Value2, LINQPad.Util.SeriesType.Line, "Value 2");
and a legend is shown with specified name ("Value 2" in above code).
It's cool feature, but I couldn't find the way to specify the name for "default" Y series.
So I think "name" parameter may be needed in Chart() method.
5
votes
takeshik
shared this idea
-
Joseph Lee commented
data.Chart(x => x.XValue)
.AddYSeries(x => x.Y1, SeriesType.Line, "Y1")
.AddYSeries(x => x.Y2, SeriesType.Line, "Y2") -
sdflysha commented
Good point here, should have one. +1