Line color fixed

may i know why i can’t change my line color? It always shows the same color followed by the sequence of the data from top to down.


Maybe its the structure. Your profileChartLine creates a trace. Your trace specified color, on the same parameter scope as name, and mode, etc. However, I believe color will be a child to the lines parameter. For instance:

var trace1 = {
  type: "scatter",
  mode: "lines",
  name: 'AAPL High',
  x: unpack(rows, 'Date'),
  y: unpack(rows, 'AAPL.High'),
  line: {color: '#17BECF'}

thanks for yr information :grinning: