From 2f08a1ea1b01e277202399c23d914924fa9b4393 Mon Sep 17 00:00:00 2001 From: D Bullock Date: Mon, 16 Nov 2020 16:29:15 +1000 Subject: [PATCH] Update performance.rst Seemingly there is no longer IDataPoint to extend. :( Found as I was trying to implement the suggestions --- guidelines/performance.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guidelines/performance.rst b/guidelines/performance.rst index ede9a1f..a8dab7f 100644 --- a/guidelines/performance.rst +++ b/guidelines/performance.rst @@ -9,7 +9,7 @@ Data binding How you add data to your model is important for the performance. For series based on the DataPointSeries you have the following options, from fast to slow: -1. Add instances based on ``IDataPoint`` directly to the Points collection +1. Add instances based on ``DataPoint`` directly to the Points collection 2. Set ItemsSource to a collection of IDataPoints 3. Set ItemsSource and use the `Mapping` delegate 4. Set ItemsSource and use the data field properties (this uses reflection - slow!) @@ -22,4 +22,4 @@ The following style properties are important for the performance of the renderin - Solid lines are much faster than dashed/dotted lines - Grid lines are slow to draw (be careful not creating too many of them) - Unfilled markers (Plus, Cross, Star) are faster than the filled markers (Circle, Square, Diamond, Triangle) -- Square markers are faster than circles \ No newline at end of file +- Square markers are faster than circles