Skip to content

Commit

Permalink
Updated example description
Browse files Browse the repository at this point in the history
  • Loading branch information
Johanna Laitila committed Mar 13, 2019
1 parent 78424e5 commit 67f698a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
12 changes: 6 additions & 6 deletions 2DHeatMap_Tutorial_WPF_NB/MainWindow.xaml.cs
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].
//
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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();
}
Expand Down
13 changes: 6 additions & 7 deletions 2DHeatMap_Tutorial_WPF_SB/MainWindow.xaml.cs
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].
//
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
12 changes: 6 additions & 6 deletions 2DHeatMap_Tutorial_WinForms/Form1.cs
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].
//
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 67f698a

Please sign in to comment.