-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Johanna Laitila
committed
Mar 13, 2019
1 parent
78424e5
commit 67f698a
Showing
3 changed files
with
18 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// ------------------------------------------------------------------------------------------------------ | ||
// LightningChart® example code: Simple 2D Heat Map Chart Demo. | ||
// LightningChart® example code: 2D Heat Map Chart Demo. | ||
// | ||
// If you need any assistance, or notice error in this example code, please contact [email protected]. | ||
// | ||
|
@@ -78,11 +78,6 @@ public MainWindow() | |
|
||
// Safe disposal of LightningChart components when the window is closed. | ||
Closed += new EventHandler(Window_Closed); | ||
|
||
#region Hidden polishing | ||
// Customize chart. | ||
CustomizeChart(_chart); | ||
#endregion | ||
} | ||
|
||
// Create chart. | ||
|
@@ -131,6 +126,11 @@ public void CreateChart() | |
// Auto-scale X- and Y-axes. | ||
_chart.ViewXY.ZoomToFit(); | ||
|
||
#region Hidden polishing | ||
// Customize chart. | ||
CustomizeChart(_chart); | ||
#endregion | ||
|
||
// Call EndUpdate to enable rendering again. | ||
_chart.EndUpdate(); | ||
} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// ------------------------------------------------------------------------------------------------------ | ||
// LightningChart® example code: Simple 2D Heat Map Chart Demo. | ||
// LightningChart® example code: 2D Heat Map Chart Demo. | ||
// | ||
// If you need any assistance, or notice error in this example code, please contact [email protected]. | ||
// | ||
|
@@ -68,11 +68,6 @@ public MainWindow() | |
|
||
// Safe disposal of LightningChart components when the window is closed. | ||
Closed += new EventHandler(Window_Closed); | ||
|
||
#region Hidden polishing | ||
// Customize chart. | ||
CustomizeChart(_chart); | ||
#endregion | ||
} | ||
|
||
// Create chart. | ||
|
@@ -121,9 +116,13 @@ public void CreateChart() | |
// Auto-scale X- and Y-axes. | ||
_chart.ViewXY.ZoomToFit(); | ||
|
||
#region Hidden polishing | ||
// Customize chart. | ||
CustomizeChart(_chart); | ||
#endregion | ||
|
||
// Call EndUpdate to enable rendering again. | ||
_chart.EndUpdate(); | ||
|
||
} | ||
|
||
// Create a ValueRangePalette to present Heatmap's data. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// ------------------------------------------------------------------------------------------------------ | ||
// LightningChart® example code: Simple 2D Heat Map Chart Demo. | ||
// LightningChart® example code: 2D Heat Map Chart Demo. | ||
// | ||
// If you need any assistance, or notice error in this example code, please contact [email protected]. | ||
// | ||
|
@@ -74,11 +74,6 @@ public Form1() | |
|
||
// Safe disposal of LightningChart components when the form is closed. | ||
FormClosed += new FormClosedEventHandler(Form_Closed); | ||
|
||
#region Hidden polishing | ||
// Customize chart. | ||
CustomizeChart(_chart); | ||
#endregion | ||
} | ||
|
||
// Create chart. | ||
|
@@ -128,6 +123,11 @@ public void CreateChart() | |
// Auto-scale X- and Y-axes. | ||
_chart.ViewXY.ZoomToFit(); | ||
|
||
#region Hidden polishing | ||
// Customize chart. | ||
CustomizeChart(_chart); | ||
#endregion | ||
|
||
// Call EndUpdate to enable rendering again. | ||
_chart.EndUpdate(); | ||
|
||
|