Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update performance.rst #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions guidelines/performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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!)
Expand All @@ -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
- Square markers are faster than circles