Skip to content

Commit

Permalink
v5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Niilo Keinänen committed May 7, 2024
1 parent 49d0585 commit 5e9d0fa
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JavaScript Chart with DateTime Axis

![JavaScript Chart with DateTime Axis](dateTimeAxis-darkGold.png)

# JavaScript Chart with DateTime Axis

![JavaScript Chart with DateTime Axis](dateTimeAxis-darkGold.png)

This demo application belongs to the set of examples for LightningChart JS, data visualization library for JavaScript.

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.
Expand All @@ -15,10 +15,10 @@ The demo can be used as an example or a seed project. Local execution requires t
npm start # builds an application and starts the development server

- The application is available at _http://localhost:8080_ in your browser, webpack-dev-server provides hot reload functionality.


## Description



## Description

This example shows creation of a DateTime Axis, for rendering XY-series where either/both of X/Y dimensions can present _time_. This doesn't affect the input of data - format remains as _{x: number, y: number}_ - however, DateTime-axes format their values from number to a date and time. This affects axis labels, markers and cursors.

A DateTime-_Axis_ is created by specifying its _TickStrategy_. Here's how it looks when setting the _Axis TickStrategy_:
Expand All @@ -30,17 +30,17 @@ const chart = lightningChart().ChartXY({})
chart.getDefaultAxisX().setTickStrategy(AxisTickStrategies.DateTime)
```

The above mentioned examples will provide an Axis that will format its scale values to their DateTime-representations.

## API Links

The above mentioned examples will provide an Axis that will format its scale values to their DateTime-representations.

## API Links

* [Axis tick strategies]
* [XY cartesian chart]
* [Line series]


## Support



## Support

If you notice an error in the example code, please open an issue on [GitHub][0] repository of the entire example.

Official [API documentation][1] can be found on [LightningChart][2] website.
Expand All @@ -56,11 +56,11 @@ Direct developer email support can be purchased through a [Support Plan][4] or b
[2]: https://lightningchart.com
[3]: https://stackoverflow.com/questions/tagged/lightningchart
[4]: https://lightningchart.com/support-services/


© LightningChart Ltd 2009-2022. All rights reserved.


[Axis tick strategies]: https://lightningchart.com/js-charts/api-documentation/v5.1.0/variables/AxisTickStrategies.html
[XY cartesian chart]: https://lightningchart.com/js-charts/api-documentation/v5.1.0/classes/ChartXY.html
[Line series]: https://lightningchart.com/js-charts/api-documentation/v5.1.0/classes/LineSeries.html



[Axis tick strategies]: https://lightningchart.com/js-charts/api-documentation/v5.2.0/variables/AxisTickStrategies.html
[XY cartesian chart]: https://lightningchart.com/js-charts/api-documentation/v5.2.0/classes/ChartXY.html
[Line series]: https://lightningchart.com/js-charts/api-documentation/v5.2.0/classes/LineSeries.html

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"webpack-stream": "^7.0.0"
},
"dependencies": {
"@arction/lcjs": "^5.1.1",
"@arction/lcjs": "^5.2.0",
"@arction/xydata": "^1.4.0"
},
"lightningChart": {
Expand Down

0 comments on commit 5e9d0fa

Please sign in to comment.