Giter VIP home page Giter VIP logo

Comments (6)

hustcc avatar hustcc commented on June 21, 2024

使用的什么版本?也把你的代码发一下吧!

from g2.

Mr-jili avatar Mr-jili commented on June 21, 2024

G2 4.x版本是不是不支持heatMap设置minOpacity,只有G2 5.x才支持嘛 G2 4.x版本有什么办法解决上述问题嘛

from g2.

hustcc avatar hustcc commented on June 21, 2024

G2 4.x版本是不是不支持heatMap设置minOpacity,只有G2 5.x才支持嘛 G2 4.x版本有什么办法解决上述问题嘛

v4 不支持。没有暴露出来api。

from g2.

Mr-jili avatar Mr-jili commented on June 21, 2024

maxOpacity、minOpactity这个api后续会暴露嘛 , 因为ant-design-chart 1.4.2版本 还是常用稳定的版本, 他这个用的还是G2 4.x版本,现在项目升级会影响太多

from g2.

hustcc avatar hustcc commented on June 21, 2024

你可以来一个案例代码吗?不要一直开关 issue。

from g2.

Mr-jili avatar Mr-jili commented on June 21, 2024

案列代码地址

问题说明: 当数值相差太大或者最小值时会出现看不出来的情况,而我最小值是红色,应该出现明显的红渐变,G2 5.x版本新出了gradient、maxOpacity、minOpacity、blur api,因ant-design-charts v1.4.2版本用的是G2plot,G2plot用的是G2 4.x,因前面一套还是稳定版本,有没有考虑在4.x中暴露这几个参数,如果不兼容,直接close就可以

from g2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.