icetimidus edited a comment on issue #11322: Bar chart pick the wrong data in 
dataset.
URL: 
https://github.com/apache/incubator-echarts/issues/11322#issuecomment-534969819
 
 
   @Ovilia 
   Due to the maintains, I can't create a demo on gallery. Here is a minimum 
option.
   
   `option = {
       "dataset": {
           "source": [{
                   "timestamp": 1568191020000,
                   "ECM": 26311.466666666667,
               },
               {
                   "timestamp": 1568191140000,
                   "ECM": 1666775.3333333333,
                   "GSWY": 1332.5333333333333,
               },
           ]
       },
       "xAxis": {
           "type": "time",
           "axisLabel": {
               "interval": 0
           }
       },
       "yAxis": {
           "type": "value",
       },
       "series": [{
               "type": "bar",
               "name": "ECM",
               "encode": {
                   "x": "timestamp",
                   "y": "ECM"
               },
               "stack": "one",
               "itemStyle": {
                   "normal": {
                       "color": "#2ec7c9"
                   }
               }
           },
           {
               "type": "bar",
               "name": "GSWY",
               "encode": {
                   "x": "timestamp",
                   "y": "GSWY"
               },
               "stack": "one",
               "itemStyle": {
                   "normal": {
                       "color": "#97b552"
                   }
               }
           }
       ],
       "tooltip": {}
   }`
   

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