Bilge opened a new issue #14300:
URL: https://github.com/apache/echarts/issues/14300


   Since `string`s are a valid time series data items, it is incorrect for 
`markLine` to require the `xAxis` data point to be a `number`.
   
   ### Version
   5.0.2
   
   ### Steps to reproduce
   ```ts
   const options: ECOption = {
       series: [{
           markLine: {
               data: [{
                   xAxis: "foo",
               }]
           }
       }],
   };
   ```
   
   ### What is expected?
   ```ts
   interface MarkLine1DDataItemOption {
     xAxis?: number|string;
   }
   ```
   
   ### What is actually happening?
   ```ts
   interface MarkLine1DDataItemOption {
     xAxis?: number;
   }
   ```
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to