Skip to content

v4.1.0

Latest

Choose a tag to compare

@camdecoster camdecoster released this 29 Jul 22:20
806a069

Added

  • Added missing onTreemapClick and onIcicleClick event props for the plotly_treemapclick and plotly_icicleclick events [#376]
  • Added additional missing events: onLegendTitleClick, onLegendTitleDoubleClick, onBeforePlot, onAnimating, and onTransitioned [#376]

Fixed

  • Returning false from onSunburstClick, onTreemapClick, or onIcicleClick now prevents the drill-down [#376]
    • onUpdate now fires for these via plotly_animated, so it reports the figure after the new level is applied and no longer fires when the drill-down is cancelled

Removed

  • Removed the errantly added onClickAnywhere and onHoverAnywhere props [#376]
    • plotly.js has no plotly_clickanywhere or plotly_hoveranywhere events, so these never fired
    • clickanywhere and hoveranywhere are layout attributes that widen the ordinary plotly_click / plotly_hover, so the feature is reached through onClick / onHover with the layout flag set — see the README