/
SwitchAxisTypeAtRuntimeViewModel.cs
38 lines (35 loc) · 1.34 KB
/
SwitchAxisTypeAtRuntimeViewModel.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// *************************************************************************************
// SCICHART® Copyright SciChart Ltd. 2011-2022. All rights reserved.
//
// Web: http://www.scichart.com
// Support: support@scichart.com
// Sales: sales@scichart.com
//
// SwitchAxisTypeAtRuntimeViewModel.cs is part of the SCICHART® Examples. Permission is hereby granted
// to modify, create derivative works, distribute and publish any part of this source
// code whether for commercial, private or personal use.
//
// The SCICHART® examples are distributed in the hope that they will be useful, but
// without any warranty. It is provided "AS IS" without warranty of any kind, either
// expressed or implied.
// *************************************************************************************
using SciChart.Examples.ExternalDependencies.Common;
namespace SciChart.Examples.Examples.ModifyAxisBehaviour
{
public class SwitchAxisTypeAtRuntimeViewModel : BaseViewModel
{
private bool _useLogarithmicAxis;
public SwitchAxisTypeAtRuntimeViewModel()
{
}
public bool UseLogarithmicAxis
{
get => _useLogarithmicAxis;
set
{
_useLogarithmicAxis = value;
OnPropertyChanged("UseLogarithmicAxis");
}
}
}
}