entronad
V2EX  ›  Flutter

如何让 Flutter 图表的交互联动

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