Skip to content

Commit

Permalink
LCJS v5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Niilo Keinänen committed Nov 8, 2023
1 parent 26e58d4 commit fc25ad0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ Direct developer email support can be purchased through a [Support Plan][4] or b
© LightningChart Ltd 2009-2022. All rights reserved.


[Point Shape]: https://lightningchart.com/js-charts/api-documentation/v4.2.0/enums/PointShape.html
[PalettedFill]: https://lightningchart.com/js-charts/api-documentation/v4.2.0/classes/PalettedFill.html
[MapTypes]: https://lightningchart.com/js-charts/api-documentation/v4.2.0/variables/MapTypes.html
[transparentFill]: https://lightningchart.com/js-charts/api-documentation/v4.2.0/variables/transparentFill.html
[Point Shape]: https://lightningchart.com/js-charts/api-documentation/v5.0.1/enums/PointShape.html
[PalettedFill]: https://lightningchart.com/js-charts/api-documentation/v5.0.1/classes/PalettedFill.html
[MapTypes]: https://lightningchart.com/js-charts/api-documentation/v5.0.1/variables/MapTypes.html
[transparentFill]: https://lightningchart.com/js-charts/api-documentation/v5.0.1/variables/transparentFill.html

5 changes: 3 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Date.prototype.addDays = function (days) {
}

const domContainer = document.getElementById('chart-container') || document.body
const lc = lightningChart()

// Add div for MapChart
const divMap = document.createElement('div')
Expand All @@ -55,7 +56,7 @@ yearDiv.appendChild(yearSlider)
// Yesterday's day in real time
let yesterday = new Date('January 10, 2022').formatDate()

const mapChart = lightningChart()
const mapChart = lc
.Map({
// theme: Themes.darkGold
type: MapTypes.World,
Expand All @@ -81,7 +82,7 @@ const palette = new PalettedFill({
})

// Create chart with customized settings
const chart = lightningChart()
const chart = lc
.ChartXY({
// theme: Themes.darkGold
container: divOverlay,
Expand Down

0 comments on commit fc25ad0

Please sign in to comment.