Feature/290-max-value-perf-fixes#291
Merged
eman1986 merged 18 commits intoNov 28, 2021
Merged
Conversation
Adding test data
Cache maxvalue, minvalue, and valuerange to prevent constant recalculations during drawing loops
Removing excess logging and adding better data generation
Better test data. Fixing issue with user defined min/max values Adding an event for chart rendering complete
Proper set comparison Don't double change animation progress when updating series
The lines and bar charts were drawing too close to left labels
Adding some comments
Making the values match the labels
Fixing issue with null values
Adding some comments about min/max values
Contributor
Author
|
Once the pull request for my missing null value changes is finalized I'll mark this as ready for review. |
Making labels match values
Contributor
|
Great work ! |
Addressing an issue with line charts a indexing into draw points
Contributor
Author
|
I touched a lot of the drawing code, I've reviewed a number of charts. However, I would recommend another pair of eyes making sure the labels, points, and lines all line up. |
eman1986
approved these changes
Oct 22, 2021
eman1986
approved these changes
Oct 22, 2021
Seuleuzeuh
suggested changes
Oct 23, 2021
Contributor
Seuleuzeuh
left a comment
There was a problem hiding this comment.
Realy great work, thanks for the couple of PR you made.
The null handling it's preaty great !
Only the multiple label drawing must be fixed before merged.
Thanks again @brett-estabrook
Applying correct equality check Moving label drawing into its own loop Fix label count in chart dynamic data
9 tasks
Seuleuzeuh
approved these changes
Nov 4, 2021
Contributor
Seuleuzeuh
left a comment
There was a problem hiding this comment.
@eman1986 it's ready to merge !
Member
|
sorry didn't see that this was good to go, merging it in. |
eman1986
approved these changes
Nov 28, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have modified the AxisBasedCharts to rework the main render loop. The main changes are to move the Min,Max, and Range values to the top and store them in local variables. This caches the values of these functions so they are not recalculated each bar/line/point render. I made a few other changes that were related to my changes
Notable Changes:
Microcharts/Sources/Microcharts/Charts/AxisBasedChart.cs
Line 177 in e0f1c37
Microcharts/Sources/Microcharts/Charts/AxisBasedChart.cs
Line 173 in e0f1c37
Microcharts/Sources/Microcharts/Helpers/MeasureHelper.cs
Line 73 in e0f1c37
Microcharts/Sources/Microcharts.Forms/ChartView.cs
Line 81 in e0f1c37
Microcharts/Sources/Microcharts/Charts/Chart.cs
Line 618 in e0f1c37
Charts tested:
Platform tested :
Fix: