Skip to content

Cumulative, Multi-Point Marks

Choose a tag to compare

@emeeks emeeks released this 17 Sep 18:54

Features

  • XYFrame now honors cumulative and cumulative-reverse which calculate cumulative data based on the passed data. For showing the calculated data (like in a tooltip) look at the yMiddle property and that will reflect the cumulative data value.
  • XYFrame points can now have yAccessors that return arrays of data. Extent is calculated based on the min-max and a circle will be rendered for each point (the style, class, render and renderKey functions will all receive an optional 3rd parameter reflecting the array position within the array of y coordinates if you want to style them accordingly) this makes multi-element point charts (like Candlestick charts) easier to generate
  • When customClickBehavior and customDoubleClickBehavior are active in a frame, the interaction overlays will have cursor: pointer
  • pieceHoverAnnotation interaction regions are now based on the custom mark for any custom mark-based viz in OrdinalFrame