You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/07/03 19:59:28 UTC
[GitHub] [incubator-echarts] evan-coygo commented on issue #4259: Is it
possible to create a 'step line chart' with echarts?
evan-coygo commented on issue #4259: Is it possible to create a 'step line chart' with echarts?
URL: https://github.com/apache/incubator-echarts/issues/4259#issuecomment-508234979
that linked example solves for if your x-axis is of type "category", what about if your x-axis is of type "value" and your series data looks something like this?
```js
xAxis : [
{
type : 'value',
scale: true
}
],
yAxis : [
{
type : 'value',
scale: true
}
],
series: {
type:'line',
itemStyle: {normal: {areaStyle: {type: 'default'}}},
data: [
[90,45],
[92,40],
[94,25],
[97,20],
[98,17],
[98.5,13],
[99,4],
[99.5, 1],
[100,0],
[100.5, 1],
[101, 3],
[102,5],
[102.5, 8],
[103,18],
[104,23],
[105,29],
[107,34],
[108,39]
]
}
```
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org