You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/01/04 06:57:34 UTC
[GitHub] [incubator-echarts] pissang commented on issue #13927: How can I fill different colors in up/down area at line chart?
pissang commented on issue #13927:
URL: https://github.com/apache/incubator-echarts/issues/13927#issuecomment-753795181
I think the only way is to modify your input data that change the baseline from 56700 to 0. For example:
```js
for (var i = 0; i < rawData.length; i++) {
categoryData.push(rawData[i][0]);
value.push(rawData[i][1] - 56700);
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org