From b02f928995a7bdf4f48935f12b7ed4300a8bb3b6 Mon Sep 17 00:00:00 2001 From: "raja.blaze" Date: Mon, 9 Sep 2019 16:45:07 +0530 Subject: [PATCH] colour code updated --- .../home/graph-list/graph-list.component.ts | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/app/view/home/graph-list/graph-list.component.ts b/src/app/view/home/graph-list/graph-list.component.ts index 9158651..4c6e502 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -1129,15 +1129,16 @@ export class GraphListComponent implements OnInit { name: '', text: hovertext, hovertemplate: hovertext + ': %{z:,} ', - colorscale: [[150, "rgb(107,113,229)"], - [125, "rgb(0,145,255)"], - [100, "rgb(44,187,232)"], - [75, "rgb(97,211,254)"], - [50, "rgb(72,220,107)"], - [35, "rgb(255,72,102)"], - [20, "rgb(254,85,51)"], - [10, "rgb(255,166,0)"], - [0, "rgb(255,209,0)"]], + colorscale: [[0.0, "rgb(107,113,229"], + [0.1111111111111111, "rgb(0,145,255)"], + [0.2222222222222222, "rgb(44,187,232)"], + [0.3333333333333333, "rgb(97,211,254)"], + [0.4444444444444444, "rgb(72,220,107)"], + [0.5555555555555556, "rgb(255,72,102)"], + [0.6666666666666666, "rgb(254,85,51)"], + [0.7777777777777778, "rgb(255,166,0)"], + [0.8888888888888888, "rgb(255,209,0)"], + [1.0, "rgb(255,209,0)"]], //colors : colorRamp(c("red", "green")), type: 'heatmap', visible: true,