Skip to content

Releases: nteract/semiotic

Little Fixes

30 Oct 03:17
Compare
Choose a tag to compare

FIXES

  • Connector styling in OrdinalFrame sends data and drawing element
  • NetworkFrame sends decorated data object to HTML annotation function
  • customPointMark in XYFrame had issues with being sent elements rather than functions returning elements
  • NetworkFrame sends decorated data object to the separation nodeSizeAccessor for tree diagrams

Precalc Bins, Node Size in Trees

23 Oct 17:29
Compare
Choose a tag to compare

Features

  • NetworkFrame in tree or cluster will take nodeSizeAccessor into account when calculating the separation value for nodes. Note that this can have strange effects if your total node size for a row/column is larger than the size of the viz.
  • heatmapping and hexbinning are exposed as functions so you can precalc your bins to find max values and optimize performance

screen shot 2018-10-23 at 10 17 11 am

ForegroundGraphics fix in OrdinalFrame

23 Oct 17:30
Compare
Choose a tag to compare

Fixes

  • OrdinalFrame generates its foregroundGraphics slightly differently than the other two frames, so it wasn't honoring the new foregroundGraphics as a function thing

foregroundGraphics/backgroundGraphics accept functions

18 Oct 16:31
Compare
Choose a tag to compare

Features

  • foregroundGraphics and backgroundGraphics will now take a function of type ({ size, margin }) => <JSX-SVG /> so you can properly size your foreground and background graphics with responsive frames.

Fixes

  • Default tooltip content for edges was showing "source id to source id" instead of "source id to target id".

Edge Highlighting

18 Oct 16:29
Compare
Choose a tag to compare

Features

  • NetworkFrame highlight annotation works for edges. The edge annotation needs to have edge: true and source and target objects that have IDs that correspond to your nodeIDAccessor

Fix 0 value point tooltips

15 Oct 20:47
Compare
Choose a tag to compare

FIXES

  • Points with a value of 0 were incorrectly showing the position of the tooltip

FEATURES

  • heatmap and hexbin area types honor a binMax property that takes a callback and returns the maximum binned value (for use with legends, for instance)

multi-x

26 Sep 03:25
Compare
Choose a tag to compare

Features

  • In XYFrame you can pass an xAccessor that returns an array of values for things like horizontal candlestick charts. This would probably cause extreme weirdness if used for lines or areas but if you have an idea of how or why that would work, feel free to file an issue.

screen shot 2018-09-25 at 8 19 10 pm

Fixes

  • OrdinalFrame and NetworkFrame have canvas interaction disabled to allow for SVG-based interactivity when rendering with canvas. Canvas interaction (like the kind found in XYFrame) will come in a future release for these frames.

Canvas Interaction

26 Sep 03:15
Compare
Choose a tag to compare

Features

itt_muse_3

Fixes

  • Axis elements weren't calculating bounding boxes if they were using custom tickFormat that returned JSX

Cumulative, Multi-Point Marks

17 Sep 18:54
Compare
Choose a tag to compare

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

Axis Label Adjust, Perf, Matte

04 Sep 20:41
Compare
Choose a tag to compare

FEATURES

  • Performance improvements for area drawing in XYFrame (thanks @jasonk000!)
  • XYFrame heatmap areaType honors a useAreasAsInteractionLayer={true} setting that creates a faster interaction grid instead of a voronoi based on centroids (thanks @jasonk000!)
  • baseMarkProps are passed to axis elements (thanks @jasonk000!)
  • Performance improvements with area rendering and XYFrame rendering more generally (thanks @jasonk000!)
  • matte now accepts (along with the original true) a JSX SVG element or a function like ({ size, margin }) => <JSX SVG />
  • If you don't send a position for an axis label, the position of the label will be based on a bounding box of the axis tick labels, ensuring no overlap (though it does not dynamically adjust the margin but it does ensure no overdraw).