Skip to content

Bar/Line

Choose a tag to compare

@emeeks emeeks released this 17 Dec 20:11

FEATURES

  • OrdinalFrame has a multiAxis prop that causes the frame to evaluate separately the data derived from an array of rAccessors to create multi-axis charts. The axes sent to the axis prop (which despite its name can accept an array of axis objects) will be decorated in the same order as the rAccessor props to produce the correct axes elements. You can see an example here: https://emeeks.github.io/semiotic/#/semiotic/barline
    barline
  • enclose-hull now identifies the closest point in the hull to draw the annotation connector, making it a better visual experience.
    screen shot 2018-12-17 at 9 37 32 am
  • desaturation-layer is a new annotation type honored by all three frames that just renders a semi-transparent white rect that you can use to desaturate the viz layer. You can pass a style object with the annotation if you want to style the rect yourself.
  • contour summaryTypes now have a percent property that gives you the percent-of-maximum-density so that you can style them the same way you would heatmaps and hexbins
  • An axis object will now honor a center prop that will render the axis in the centerline of the viz (for making quadrant-style vizzes). The label still appears outside the viz
    screen shot 2018-12-17 at 12 09 33 pm

FIXES

  • motifs in NetworkFrame works again
  • DAGRE networks don't rerender weirdly
  • When a point was at the very top-edge of the frame it rendered the tooltip above the frame
  • Add a bunch of props to the list of complain-if-they're-assigned-because-the-frame-doesn't-honor-them props.
  • Add unique keys for DAGRE parallel edges

CHANGES

  • showSummaryPoints is a new prop in XYFrame to expose points for summaries (previously showLinePoints exposed points for lines and summaries but that was a very hacky approach
  • hexbin now renders empty hexes in areas where there were no points, so as to match up with heatmap

screen shot 2018-12-16 at 7 43 23 pm