Skip to content

Commit ed2a9aa

Browse files
author
Niilo Keinänen
committed
LCJS v7.0.1
1 parent 01e306f commit ed2a9aa

8 files changed

+12
-9
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ Direct developer email support can be purchased through a [Support Plan][4] or b
130130
© LightningChart Ltd 2009-2022. All rights reserved.
131131

132132

133-
[Map chart]: https://lightningchart.com/js-charts/api-documentation/v6.1.0/classes/MapChart.html
134-
[Map types]: https://lightningchart.com/js-charts/api-documentation/v6.1.0/variables/MapTypes.html
135-
[Paletted fill]: https://lightningchart.com/js-charts/api-documentation/v6.1.0/classes/PalettedFill.html
136-
[Color lookup table]: https://lightningchart.com/js-charts/api-documentation/v6.1.0/classes/LUT.html
137-
[Color RGBA]: https://lightningchart.com/js-charts/api-documentation/v6.1.0/functions/ColorRGBA.html
138-
[Empty line]: https://lightningchart.com/js-charts/api-documentation/v6.1.0/variables/emptyLine.html
139-
[Format longitude/latitude]: https://lightningchart.com/js-charts/api-documentation/v6.1.0/functions/formatLongitudeLatitude.html
133+
[Map chart]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/MapChart.html
134+
[Map types]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/variables/MapTypes.html
135+
[Paletted fill]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/PalettedFill.html
136+
[Color lookup table]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/LUT.html
137+
[Color RGBA]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/functions/ColorRGBA.html
138+
[Empty line]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/variables/emptyLine.html
139+
[Format longitude/latitude]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/functions/formatLongitudeLatitude.html
140140

28.8 KB
Loading

mapChartDynamicColor-darkGold.png

30.8 KB
Loading

mapChartDynamicColor-light.png

16.9 KB
Loading
28.2 KB
Loading
30.2 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"webpack-stream": "^7.0.0"
1818
},
1919
"dependencies": {
20-
"@lightningchart/lcjs": "^6.1.1",
20+
"@lightningchart/lcjs": "^6.1.2",
2121
"@lightningchart/xydata": "^1.4.0"
2222
},
2323
"lightningChart": {

src/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ mapChart
3131
}),
3232
)
3333
.setCursorFormatting((_, hit) => {
34-
const result = [[hit.region.name], [formatLongitudeLatitude(hit.longitude, hit.latitude)]]
34+
const result = [
35+
[{ text: hit.region.name, rowFillStyle: mapChart.getTheme().cursorResultTableHeaderBackgroundFillStyle }],
36+
[formatLongitudeLatitude(hit.longitude, hit.latitude)],
37+
]
3538
if (hit.value) {
3639
result.push(['Population', '', `${(hit.value / (1000 * 1000)).toFixed(1)} million`])
3740
} else {

0 commit comments

Comments
 (0)