-
Notifications
You must be signed in to change notification settings - Fork 0
add intro #1
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
add intro #1
Conversation
Please correct the project and update this pull request by pushing a new commit.
|
Please correct the project and update this pull request by pushing a new commit.
|
Please correct the project and update this pull request by pushing a new commit.
|
Please correct the project and update this pull request by pushing a new commit.
|
|
||
## Files to Review | ||
|
||
* [Form1.cs](./CS/DateTimeAggregation/Form1.cs) (VB: [Form1.vb](./VB/DateTimeAggregation/Form1.vb)) |
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.
The example throws an unhandled exception (select the grid alignment other than Auto, then select the "Automatic" scale mode). Update the code as follows (a quick fix):
void SetAutomaticScaleMode() {
ResetAxisOptions(); // Add this line.
AxisX.DateTimeScaleOptions.ScaleMode = ScaleMode.Automatic;
UpdateGridAlignment(1);
}
void SetAxisXGridAuto() {
AxisX.DateTimeScaleOptions.AutoGrid = true;
cbGridAlignment.SelectedIndex = 0; // Add this line.
}
No description provided.