arco-design / arco-design-pro

An out-of-the-box solution to quickly build enterprise-level applications based on Arco Design.
https://pro.arco.design
MIT License
485 stars 95 forks source link

template China map reverse bug #1

Closed xgqfrms closed 3 years ago

xgqfrms commented 3 years ago

Basic Info

预期结果

the China map not reverse

复现步骤

just open the link, you will see that. https://arco.design/material/detail?name=@arco-design/pro-pages-multi-dimension-data-analysis

image

xgqfrms commented 3 years ago

temporary solution

css solution

/*
  fix: China map reverse bug
*/ 
[data-class="map-reverse-bug-box"] {
  .bizcharts {
    transform: rotateX(180deg);
  }
}

image

kirazxyun commented 3 years ago

@xgqfrms Hello, first of all thank you very much for your contribution. After reading the documentation of bizChart, I found that the map can be reversed by the coordinate system Coord. This problem will be fixed in this way.This fix will be released in the next version.