karmię kontrolę Chart Microsoft z IEnumerable własnego klasy ChartPointdatabind z kontroli wykres daje NotImplementedException
public class ChartPoint
{
public double Xvalue { get; set; }
public double Yvalue { get; set; }
public string Url { get; set; }
public string Tooltip { get; set; }
}
Potem próbuje databind IEnumerable < ChartPoint>:
serie.Points.DataBind(points, "Xvalue", "Yvalue", "Tooltip=Tooltip,Url=Url");
ale następnie uderza wyjątek NotImplementedException w tym wierszu:
System.Linq.Iterator`1.System.Collections.IEnumerator.Reset() +29
System.Web.UI.DataVisualization.Charting.DataPointCollection.DataBind(IEnumerable dataSource, String xField, String yFields, String otherFields) +313
Wha Czy robię źle?
Rozwiązane, dzięki! –
+1 Dla rozwiązania problemu! –