You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2022/04/04 09:43:17 UTC

[GitHub] [echarts] Abattista96 opened a new issue, #16832: [Bug] Series Option does not recognize the SeriesOption$1[] array

Abattista96 opened a new issue, #16832:
URL: https://github.com/apache/echarts/issues/16832

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   I update my project to angular 13 (from angular 7)
   Configurare a linechart with a series array using a for loop and push the data
   ```
       for (const value of this.valuesToShow) {
         option.series.push({
             ...value
         })
       }
   ```
   Push is undefined to the property` (property) EChartsOption.series?: SeriesOption `
   
   
   ### Current Behavior
   
   The configuration doesn't see the series as array so I cannot use the function push.
   I tried to cast the type of the data and also the type of the series as array and `SeriesOption$1[]` but this type in particular is not recognize.
   The only way I found to avoid this problem in local is touch the lib and convert the series:
   `series?: SeriesOption$1[];`
   
   ### Expected Behavior
   
   I expect that i can push an array into a series option as it configure on the lib:
   `series?: SeriesOption$1 | SeriesOption$1[];`
   Although seems that only the first type is detected.
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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

To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org


Re: [I] [Bug] Series Option does not recognize the SeriesOption$1[] array [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16832:
URL: https://github.com/apache/echarts/issues/16832#issuecomment-2035589042

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


Re: [I] [Bug] Series Option does not recognize the SeriesOption$1[] array [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16832:
URL: https://github.com/apache/echarts/issues/16832#issuecomment-2050543094

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


Re: [I] [Bug] Series Option does not recognize the SeriesOption$1[] array [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #16832: [Bug] Series Option does not recognize the SeriesOption$1[] array
URL: https://github.com/apache/echarts/issues/16832


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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