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 2020/03/03 07:10:36 UTC

[GitHub] [incubator-echarts] limm33 opened a new issue #12224: timeline map在react中无法使用

limm33 opened a new issue #12224: timeline map在react中无法使用
URL: https://github.com/apache/incubator-echarts/issues/12224
 
 
   ### Version
   4.1.0-release
   
   ### Steps to reproduce
   react中创建地图 时间轴图表,使用如下option
   option = {
       "baseOption":{
           "timeline":{
               "data":[
                   "2018-10-01",
                   "2018-12-01"
               ],
               "axisType":"category",
               "show":true,
               "autoPlay":true
           },
           "geo":{
               "map":"china",
               "label":{
                   "normal":{
                       "show":false
                   }
               },
               "roam":false
           },
           "visualMap":{
               "show":true,
               "min":0,
               "max":87,
               "calculable":true,
               "inRange":{
                   "color":[
                       "#509af2",
                       "#ffa223"
                   ]
               },
               "left":"left",
               "top":"bottom",
               "itemWidth":20,
               "itemHeight":150,
               "textStyle":{
                   "fontFamily":"PingFang SC",
                   "fontSize":"12"
               },
               "orient":"vertical"
           }
       },
       "options":[
           {
               "series":[
                   {
                       "name":"地图",
                       "type":"map",
                       "mapType":"china",
                       "roam":false,
                       "data":[
                           {
                               "name":"河南",
                               "value":[
                                   113.48680405753,
                                   34.157183767956,
                                   86
                               ]
                           }
                       ]
                   }
               ]
           },
           {
               "series":[
                   {
                       "name":"地图",
                       "type":"map",
                       "mapType":"china",
                       "roam":false,
                       "data":[
                           {
                               "name":"河南",
                               "value":[
                                   113.48680405753,
                                   34.157183767956,
                                   47
                               ]
                           }
                       ]
                   }
               ]
           }
       ]
   }
   
   ### What is expected?
   设置option后显示时间轴和地图的复合图表
   
   ### What is actually happening?
   EChartOption只显示一张空地图,没有数据和时间轴。且setOption时提示option中字段baseOption和options在EChartOption没有对应的属性的错误。将上面的option负责到echarts官网例子中可以正常显示。
   
   <!-- 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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12224: timeline map在react中无法使用

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12224: timeline map在react中无法使用
URL: https://github.com/apache/incubator-echarts/issues/12224#issuecomment-602332416
 
 
   @limm33 Please provide a demo for the issue either with https://jsfiddle.net/ovilia/n6xc4df3/ or https://gallery.echartsjs.com/editor.html.

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] Ovilia commented on issue #12224: timeline map在react中无法使用

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12224: timeline map在react中无法使用
URL: https://github.com/apache/incubator-echarts/issues/12224#issuecomment-602332280
 
 
   如果使用了 react echart 相关项目,请到那个项目下报错。如果是 ECharts 本身的问题,请提供一个不包括 react 环境的 demo。

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] xieying commented on issue #12224: timeline map在react中无法使用

Posted by GitBox <gi...@apache.org>.
xieying commented on issue #12224: timeline map在react中无法使用
URL: https://github.com/apache/incubator-echarts/issues/12224#issuecomment-594285035
 
 
   问题复现:
   1.react项目中添加echarts包:“echarts”: “^4.1.0”
   2.新建Echarts测试组件,见附件
   3.在项目中引用Echarts测试组件
   [EchartsTest.tsx.txt](https://github.com/apache/incubator-echarts/files/4284743/EchartsTest.tsx.txt)
   
   
   

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12224: timeline map在react中无法使用

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12224: timeline map在react中无法使用
URL: https://github.com/apache/incubator-echarts/issues/12224#issuecomment-593802006
 
 
   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 questions.
   
   If you are interested in the project, you may also subscribe our [mail 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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] 100pah commented on issue #12224: timeline map在react中无法使用

Posted by GitBox <gi...@apache.org>.
100pah commented on issue #12224: timeline map在react中无法使用
URL: https://github.com/apache/incubator-echarts/issues/12224#issuecomment-594123657
 
 
   Could you check is there other issue in your project, or provide more info to reproduce this issue.
   I have no your project, can not reproduce it. 

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] xieying commented on issue #12224: timeline map在react中无法使用

Posted by GitBox <gi...@apache.org>.
xieying commented on issue #12224: timeline map在react中无法使用
URL: https://github.com/apache/incubator-echarts/issues/12224#issuecomment-594295292
 
 
   附件中是echarts包中的ts文件,下载后去掉后缀.txt即可,在452行定义了EChartOption接口,里面没有baseoption及options属性,导致设置时间轴图表时提示option格式不正确,不知道咱们这边是否有解决方法或者有没有补丁包可以解决这个问题
   [index.d.ts.txt](https://github.com/apache/incubator-echarts/files/4284782/index.d.ts.txt)
   

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12224: timeline map在react中无法使用

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


   This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions.


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