-
Notifications
You must be signed in to change notification settings - Fork 51
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
2055 old values not scaled #2092
Conversation
ExpressionValue, | ||
RelativeExpressionNew, | ||
Unit | ||
public static string Container = "Container"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created those so that we could remove the .ToString() used EVERYWHERE!!
}; | ||
} | ||
|
||
private int getPercentageMax(DataView dataView, string columnName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the change. Instead of setting the max to 100, I set the max to the max value in the column (int) and then this will be used as max for the repo. The scaling is then done automatically
@Yuri05 This cannot be tested, unfortunately. Everything happens in the view. |
and this? |
I feel that I am patching a leak with some tap but it's better than nothing..