100pah edited a comment on issue #9171: fix #8009 & #5969, symbol symbolSize 
and opacity setting for category itemStyle in graph
URL: 
https://github.com/apache/incubator-echarts/pull/9171#issuecomment-434807414
 
 
   > little confused about the relationship between model and data
   
   `data` is an instance of `echarts/src/data/List`, `model` is an instance of 
`echarts/src/model/Model`, or, specifically, `echarts/src/model/Series` in this 
case.
   
   
   
   Both of them contains user settings in echarts option, for example:
   ```js
   let option = {
       series: {
           name: 'asdf',
           type: 'line',
           itemStyle: { ... },
           data: [ ... ]
       }
   };
   ```
   The data properties is saved into a `data` instance, and the rest of the 
definitions of series is saved into a series model. And data is a propertied 
mounted on a series (model).
   ```js
   let data = model.getData();
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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