Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

put line tension to 0 for sharp corners in graph

Vincentecb9e0344094
diff --git a/ui/component/or-attribute-card/src/index.ts b/ui/component/or-attribute-card/src/index.ts
index a037f2e04..ec6f2ef62 100644
--- a/ui/component/or-attribute-card/src/index.ts
+++ b/ui/component/or-attribute-card/src/index.ts
@@ -157,6 +157,7 @@ export class OrAttributeCard extends LitElement {
datasets: [
{
data: this.data,
+ lineTension: 0,
spanGaps: true,
backgroundColor: "transparent",
borderColor: this._style.getPropertyValue("--internal-or-attribute-history-graph-line-color"),