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 2020/06/23 12:24:44 UTC
[GitHub] [incubator-echarts] bt4baidu edited a comment on issue #12840: [Candlestick][itemStyle]Cannot customize color and color0 by callback function
bt4baidu edited a comment on issue #12840:
URL: https://github.com/apache/incubator-echarts/issues/12840#issuecomment-648110918
Find a way to realize this request, code example as following:
```javascript
if (pc && c === h && ((c - pc) * 100 / pc).toFixed(2) >= 9.9)
values.push({
value: [o, c, l, h],
itemStyle: {
color: '#FFFF00',
color0: 'green',
borderColor: null,
borderColor0: null
}
})
else
values.push([o, c, l, h])
```
Close this issue.
----------------------------------------------------------------
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