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/03/31 22:04:32 UTC

[GitHub] [echarts] jbaron commented on issue #14312: Dual time series dataset does not render correctly

jbaron commented on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811496230


   Perhaps not best solution, but a work around I used for the time being is to specify some encoding info at series level. Even the one additional line below already removes the bug.
   
             option = {
               dataset: {
                     source: [
                         ['2020-10-24', 325, 225],
                         ['2020-10-31', 318, 226],
                         ['2020-11-07', 316, 224],
                         ['2020-11-14', 316, 232],
                         ['2020-11-21', 310, 224],
                         ['2020-11-28', 324, 241],
                         ['2020-12-05', 323, 240],
                         ['2020-12-12', 323, 243],
                         ['2020-12-19', 337, 267],
                         ['2020-12-26', 334, 267],
                         ['2021-01-02', 334, 283],
                         ['2021-01-09', 337, 285],
                         ['2021-01-16', 333, 287],
                         ['2021-01-23', 333, 292],
                         ['2021-01-30', 333, 292],
                         ['2021-02-06', 333, 292]
                         ]
                 },
                 xAxis: {type: 'time'},
                 yAxis: {},
                 series: [
                     {   type: 'line' },
                     {   type: 'line',
                         encode : { y: 2 }
                     },
                  
                 ]
             };


-- 
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