entronad
V2EX  ›  Flutter

如何让 Flutter 图表的交互联动

  •  
  •   entronad · Feb 10, 2022 · 2183 views
    This topic created in 1663 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   ·   953 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 22:19 · PVG 06:19 · LAX 15:19 · JFK 18:19
    ♥ Do have faith in what you're doing.