V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
entronad
V2EX  ›  Flutter

如何让 Flutter 图表的交互联动

  •  
  •   entronad · Feb 10, 2022 · 1920 views
    This topic created in 1539 days ago, the information mentioned may be changed or developed.

    在 Flutter 图表库 Graphic 中,我们增加了“交互通道”( Interaction Channel )的功能。通过 Stream 输入或输出交互信号。这使得两个或多个图表能够方便的“共享”交互操作。

    详情请见文档:

    Chart.gestureChannel;

    Chart.resizeChannel;

    Chart.changeDataChannel;

    GeomElement.selectionChannel

    示例:code

    1

    2

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5445 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 07:43 · PVG 15:43 · LAX 00:43 · JFK 03:43
    ♥ Do have faith in what you're doing.