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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to