colour code updated

This commit is contained in:
raja.blaze 2019-09-09 15:56:42 +05:30
parent 1e7b5376e7
commit 1dd300ddb2

View File

@ -1129,7 +1129,16 @@ export class GraphListComponent implements OnInit {
name: '', name: '',
text: hovertext, text: hovertext,
hovertemplate: hovertext + ': %{z:,} ', hovertemplate: hovertext + ': %{z:,} ',
colorscale: 'Rainbow', colorscale: [[0.0, "rgb(165,0,38)"],
[0.1111111111111111, "rgb(215,48,39)"],
[0.2222222222222222, "rgb(244,109,67)"],
[0.3333333333333333, "rgb(253,174,97)"],
[0.4444444444444444, "rgb(254,224,144)"],
[0.5555555555555556, "rgb(224,243,248)"],
[0.6666666666666666, "rgb(171,217,233)"],
[0.7777777777777778, "rgb(116,173,209)"],
[0.8888888888888888, "rgb(69,117,180)"],
[1.0, "rgb(49,54,149)"]],
//colors : colorRamp(c("red", "green")), //colors : colorRamp(c("red", "green")),
type: 'heatmap', type: 'heatmap',
visible: true, visible: true,