entronad
V2EX  ›  Flutter

如何让 Flutter 图表的交互联动

  •  
  •   entronad · Feb 10, 2022 · 2196 views
    This topic created in 1666 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   ·   Privacy   ·   Solana   ·   3176 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 13:11 · PVG 21:11 · LAX 06:11 · JFK 09:11
    ♥ Do have faith in what you're doing.