@record-evolution/widget-linechart 1.6.11 → 1.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent widget-linechart following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "widget-linechart",
|
|
6
|
-
"version": "1.6.
|
|
6
|
+
"version": "1.6.13",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/widget-linechart.js",
|
|
9
9
|
"types": "dist/src/widget-linechart.d.ts",
|
package/src/widget-linechart.ts
CHANGED
|
@@ -261,6 +261,7 @@ export class WidgetLinechart extends LitElement {
|
|
|
261
261
|
width: ds.styling?.borderWidth ?? 2,
|
|
262
262
|
type: ds.styling?.borderDash ?? 'solid'
|
|
263
263
|
},
|
|
264
|
+
smooth: false,
|
|
264
265
|
itemStyle: {
|
|
265
266
|
color: fillColor,
|
|
266
267
|
borderColor: lineColor,
|
|
@@ -307,7 +308,7 @@ export class WidgetLinechart extends LitElement {
|
|
|
307
308
|
|
|
308
309
|
applyData() {
|
|
309
310
|
const modifier = 1
|
|
310
|
-
|
|
311
|
+
this.requestUpdate()
|
|
311
312
|
this.canvasList.forEach((chart, label) => {
|
|
312
313
|
chart.series.sort((a, b) => ((a.name as string) > (b.name as string) ? 1 : -1))
|
|
313
314
|
|