File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ Official [API documentation][1] can be found on [LightningChart][2] website.
76
76
77
77
If the docs and other materials do not solve your problem as well as implementation help is needed, ask on [ StackOverflow] [ 3 ] (tagged lightningchart).
78
78
79
- If you think you found a bug in the LightningChart JavaScript library, please contact support @lightningchart.com .
79
+ If you think you found a bug in the LightningChart JavaScript library, please contact sales @lightningchart.com .
80
80
81
81
Direct developer email support can be purchased through a [ Support Plan] [ 4 ] or by contacting sales@lightningchart.com .
82
82
@@ -89,9 +89,9 @@ Direct developer email support can be purchased through a [Support Plan][4] or b
89
89
© LightningChart Ltd 2009-2022. All rights reserved.
90
90
91
91
92
- [ XY cartesian chart ] : https://lightningchart.com/js-charts/api-documentation/v5.0.1 /classes/ChartXY.html
93
- [ Axis tick strategies ] : https://lightningchart.com/js-charts/api-documentation/v5.0.1 /variables/AxisTickStrategies.html
94
- [ Freeform line series ] : https://lightningchart.com/js-charts/api-documentation/v5.0.1 /classes/LineSeries.html
95
- [ OHLC series ] : https://lightningchart.com/js-charts/api-documentation/v5.0.1 /classes/ChartXY.html#addOHLCSeries
96
- [ OHLC series types ] : https://lightningchart.com/js-charts/api-documentation/v5.0.1 /variables/OHLCSeriesTypes.html
92
+ [ XY cartesian chart ] : https://lightningchart.com/js-charts/api-documentation/v5.1.0 /classes/ChartXY.html
93
+ [ Axis tick strategies ] : https://lightningchart.com/js-charts/api-documentation/v5.1.0 /variables/AxisTickStrategies.html
94
+ [ Freeform line series ] : https://lightningchart.com/js-charts/api-documentation/v5.1.0 /classes/LineSeries.html
95
+ [ OHLC series ] : https://lightningchart.com/js-charts/api-documentation/v5.1.0 /classes/ChartXY.html#addOHLCSeries
96
+ [ OHLC series types ] : https://lightningchart.com/js-charts/api-documentation/v5.1.0 /variables/OHLCSeriesTypes.html
97
97
Original file line number Diff line number Diff line change 40
40
. getDefaultAxisX ( )
41
41
. setScrollStrategy ( AxisScrollStrategies . progressive )
42
42
// View fits 5 minutes.
43
- . setInterval ( { start : 0 , end : fiveMinutesInMs , stopAxisAfter : false } )
43
+ . setDefaultInterval ( ( state ) => ( { end : state . dataMax , start : ( state . dataMax ?? 0 ) - fiveMinutesInMs , stopAxisAfter : false } ) )
44
44
45
45
// Show title 'USD' on Y axis.
46
46
chart . getDefaultAxisY ( ) . setTitle ( 'USD' )
You can’t perform that action at this time.
0 commit comments