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 2022/06/28 14:15:00 UTC

[GitHub] [echarts] shareeftabakhi opened a new issue, #17289: [Bug]

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

   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1. use that geo chart component 
   2.register the map
   3.view the result
   
   ### Current Behavior
   
   Recently when I load the map I get a console error that says 
   Cannot read properties of undefined (reading 'regions')
       at GeoCreator.getFilledRegions (geoCreator.js:252:16)
   note that it was working fine and suddenly it stopped 
   
   
   
     ChartOptions: any = {
       // backgroundColor: '#000',
       title: {
         text: '',
         left: 'center',
         textStyle: {
           color: '#2a333d'
         }
       },
       geo: {
         map: 'world',
         roam: true,
         label: {
           emphasis: {
             show: false,
           }
         },
         silent: true,
         itemStyle: {
           normal: {
             borderColor: '#111'
           },
           emphasis: {
             areaColor: '#2a333d'
           },
         },
       },
       series: [
         {
           type: 'scatter',
           progressive: 1e6,
           coordinateSystem: 'geo',
           symbolSize: '15',
           zoomScale: 0.222,
           blendMode: 'source-over',
           large: true,
           postEffect: {
             enable: true
           },
           dimensions: ['lng', 'lat'],
           silent: true,
           data: []
         }
       ],
     };
   
   
   
       this.client.get("/assets/worldmap.json").subscribe((data: any) => {
         var worldMap = echarts.getMap('world');
         if (worldMap == null) {
           echarts.registerMap('world', data);
         }
         this.LoadData();
       });
   
       // in load data
           this.ChartOptions.series[0].data.push(item);
   
       <div echarts [options]="ChartOptions" [theme]="Theme" class="chart" *ngIf="ChartOptions" style="height:100%; width:100%" (chartInit)="OnChartInit($event)"></div>
   
   
   
   
   ### Expected Behavior
   
   Map Works Fine as before
   
   ### Environment
   
   ```markdown
   - OS: Windows
   - Browser: Chrome
   - Framework:Angular
   ```
   
   
   ### 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: commits-unsubscribe@echarts.apache.org.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


[GitHub] [echarts] echarts-bot[bot] closed issue #17289: [Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #17289: [Bug]
URL: https://github.com/apache/echarts/issues/17289


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17289: [Bug]

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

   I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
   
   Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
   
   A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
   
   Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.


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