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/05 13:39:11 UTC

[GitHub] [echarts] dileepyelleti opened a new issue #14412: dataZoom.startValue - Type 'string' is not assignable to type 'number'

dileepyelleti opened a new issue #14412:
URL: https://github.com/apache/echarts/issues/14412


   ### Version
   5.0.2
   
   ### Steps to reproduce
   Using datazoom option for line chart similar to https://echarts.apache.org/examples/en/editor.html?c=line-aqi inside angular.
   dataZoom: {
       type: 'inside',
       startValue: '2014-06-01'
   }
   
   ### What is expected?
   As per documentation number, string, Date are allowed in dataZoom.startValue.
   
   ### What is actually happening?
   Type error is getting thrown Type 'string' is not assignable to type 'number'. node_modules/echarts/types/dist/echarts.d.ts:8213:5 startValue?: 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:
users@infra.apache.org



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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14412: dataZoom.startValue - Type 'string' is not assignable to type 'number'

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14412:
URL: https://github.com/apache/echarts/issues/14412#issuecomment-792416455


   This issue is labeled with `difficulty: easy`.
   @dileepyelleti Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
   
   Please have a look at [How to debug ECharts](https://github.com/apache/echarts/blob/master/CONTRIBUTING.md#how-to-debug-echarts) if you'd like to give a try. 🤓


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


[GitHub] [echarts] dileepyelleti commented on issue #14412: dataZoom.startValue - Type 'string' is not assignable to type 'number'

Posted by GitBox <gi...@apache.org>.
dileepyelleti commented on issue #14412:
URL: https://github.com/apache/echarts/issues/14412#issuecomment-836310754


   Hi @pissang 
   I have created PR for this issue. Please have a look https://github.com/apache/echarts/pull/14775 


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


[GitHub] [echarts] dileepyelleti commented on issue #14412: dataZoom.startValue - Type 'string' is not assignable to type 'number'

Posted by GitBox <gi...@apache.org>.
dileepyelleti commented on issue #14412:
URL: https://github.com/apache/echarts/issues/14412#issuecomment-792535951


   Hi @pissang 
   I tried to fix it and create PR. But it is not that easy of changing to number | string | Date. It has other dependancies and leading to option: Opt;    // TODO Opt should only be object.
   I shouldn't fix this TODO as it may cause some other problems.
   


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14412: dataZoom.startValue - Type 'string' is not assignable to type 'number'

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14412:
URL: https://github.com/apache/echarts/issues/14412#issuecomment-791424727


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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


[GitHub] [echarts] pissang closed issue #14412: dataZoom.startValue - Type 'string' is not assignable to type 'number'

Posted by GitBox <gi...@apache.org>.
pissang closed issue #14412:
URL: https://github.com/apache/echarts/issues/14412


   


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