entronad
V2EX  ›  Flutter

如何让 Flutter 图表的交互联动

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