Skip to content

Commit 3026b5b

Browse files
committed
Update examples
1 parent 2702e15 commit 3026b5b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# ECG
22

3+
![ECG](ecg.png)
4+
35
This demo application belongs to the set of examples for LightningChart JS, data visualization library for JavaScript.
46

57
LightningChart JS is entirely GPU accelerated and performance optimized charting library for presenting massive amounts of data. It offers an easy way of creating sophisticated and interactive charts and adding them to your website or web application.
@@ -50,7 +52,7 @@ Direct developer email support can be purchased through a [Support Plan][4] or b
5052
[3]: https://stackoverflow.com/questions/tagged/lightningchart
5153
[4]: https://www.arction.com/support-services/
5254

53-
© Arction Ltd 2009-2019. All rights reserved.
55+
© Arction Ltd 2009-2020. All rights reserved.
5456

5557

5658
[ChartXY]: https://www.arction.com/lightningchart-js-api-documentation/v1.2.0/classes/chartxy.html

ecg.png

71.7 KB
Loading

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ const chart = lightningChart().ChartXY({}).setTitle('ECG')
2727
const series = chart.addLineSeries({ dataPattern: DataPatterns.horizontalProgressive })
2828
// Style the series
2929
series
30-
.setStrokeStyle( new SolidLine({
30+
.setStrokeStyle(new SolidLine({
3131
thickness: 2,
32-
fillStyle: new SolidFill({ color: ColorHEX( '#5aafc7' ) })
32+
fillStyle: new SolidFill({ color: ColorHEX('#5aafc7') })
3333
}))
3434
.setMouseInteractions(false)
3535

36-
chart.setAutoCursorMode( AutoCursorModes.disabled )
36+
chart.setAutoCursorMode(AutoCursorModes.disabled)
3737

3838
// Setup view nicely.
3939
chart.getDefaultAxisY()

0 commit comments

Comments
 (0)