Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

victory-polar-axis

Package Overview
Dependencies
Maintainers
3
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-polar-axis - npm Package Versions

1
1315

31.2.0

Diff

Changelog

Source

31.2.0 (2019-01-27)

Axis improvements

  • 1244 Supports the axisValue prop for both cartesian and polar charts. This prop allows users to position an axis relative to a value on the opposite axis. Values may be given as numbers, dates, or strings. This prop only works for axis components when they are nested within VictoryChart. Standalone axes can still be positioned using offsetX and offsetY` props.
  • 1240 Allows multiple independent axes in a single chart

Removes all deprecated lifecycle methods

  • 1239 Removes all componentWillReceiveProps lifecycle methods and adds shouldComponentUpdate logic for higher level components. Previously only the lowest level components performed sCU checks.
  • 1228 Replaces componentWillMount with componentDidMount

bug fixes

  • 1243 Prevents VictoryBrushLine active brushes from overflowing the brush area when a chart is zoomed
  • 1241 Fixes a regression effecting immutable data rendering
  • 1227 Fixes a minor regression effecting parent event keys introduced by 1211
boygirl
published 31.1.0 •

Changelog

Source

31.1.0 (2019-01-08)

  • 1222 Bugfix: Avoid rendering null values on discrete data

  • 1218 Bugfix: Ensure that calculated domains respect custom baselines for VictoryBar and VictoryArea

  • 1202 Bugfix: Correct missing bar values

  • 1208 Performance: Improve performance in addEventKeys

  • 1211 Performance: Optimize stringMap calculations

  • 1212 Performance: Optimize for preformatted data: When data objects already contain _x, _y (and _y0 where appropriate) and have data accessor props like x="_x", data will no longer be formatted by Victory, but will be used as is. Example:

    <VictoryArea
      data={[ { _x: 0, _y0: 1, _y: 2 } ...]}
      x="_x"
      y="_y"
      y0="_y0"
    />
    
  • 1209 Feature: Adds an animationWhitelist property to the animate prop. This property should be given as an array of strings. When this prop is given, only the prop names matching the array will be animated, and all other props will be instantaneously updates.

    Example:

    <VictoryBar
      animate={{
        animationWhitelist: ["data"]
      }}
      data={this.state.data}
      style={{
        data: this.state.style
      }}
    />
    

    When this property is not set, the static animationWhitelist of any given component will be used.

boygirl
published 31.0.2 •

Changelog

Source

31.0.2 (2018-12-12)

  • 1200 Export defaultStyles from VictoryLabel. Thanks @rudasoftware!
boygirl
published 31.0.0 •

Changelog

Source

31.0.0 (2018-11-10)

  • #1177 Adds support for controlling radius, innerRadius, cornerRadius, padAngle, sliceStartAngle and sliceEndAngle for each individual slice of a pie:

Details: The Slice primitive used by VictoryPie now takes radius, cornerRadius, innerRadius, padAngle, sliceStartAngle and sliceEndAngle props. Each of these props may be given as number or a function of datum and active. padAngle, radius, cornerRadius and innerRadius will be passed down from props on VictoryBar, but sliceStartAngle and sliceEndAngle must be defined directly on the Slice instance, These values should be given in degrees. To make these values easier to use as functional props, startAngle, endAngle, and padAngle (in degrees) are added to each datum passed into Slice. (If your data already has these properties they will not be overridden)

Breaking Changes The Slice primitive will still take a pathFunction prop, but this prop will no longer be provided by VictoryPie. This will not be a breaking change for most users. This will only affect users who were wrapping the Slice component and making use of the pathFunction prop provided by VictoryPie Users who were providing their own pathFunction prop to Slice should not be effected.

boygirl
published 30.6.1 •

Changelog

Source

30.6.1 (2018-11-09)

  • #1178 Bugfix: single point charts with time scale data are appropriately centered
  • #1171 Bugfix: fixLabelOverlap no longer causes errors with string tickValues
boygirl
published 30.3.1 •

Changelog

Source

30.3.1 (2018-08-30)

  • #1104 - Bugfix: correct sorting and stacking horizontal bars with categorical data
boygirl
published 30.3.0 •

Changelog

Source

30.3.0 (2018-08-24)

  • #1088 - Bugfix: don’t ignore angle: 0 for text styles
  • #1091 - Fix inconsistent defaultBrushArea behavior. Thanks @bees
  • #1093 - Remove trailing whitespace and incorrect zeroes in transform strings
  • #1094 - Support direction prop for VictoryLabel and Text primitive
  • #1096 - Fix bug in horizontal zooming and panning
  • #1101 - Fix arguments in VictoryVoronoiContainer label function. Thanks @evsheino
boygirl
published 30.2.0 •

Changelog

Source

30.2.0 (2018-08-06)

  • #1072 Fixes a bug related to correctly stacking grouped components
  • #1074 Fixes a bug that was causing time scale data to be ignored by VictoryVoronoiContainer when calculating voronoi layouts
  • #1076 Implements a whitelist based on static role when calculating data and domain from child components.
  • #1077 Prevents VictoryZoonContainer from downsampling stacked data
  • #1078 Adds barWidth and candleWidth props to VictoryBar and VictoryCandlestick. Adds candleRatio prop to VictoryCandlestick
  • #1079 Adds onBrushCleared callback prop for VictoryBrushContainer
  • #1080 Changes how tooltips are deactivated so that multiple sources may reactivate tooltips (i.e. multiple triggers in VictorySharedEvents or direct triggers and voronoi triggers) #1081 Legends now render title and border when data is an empty array (previously nothing was rendered)
boygirl
published 30.1.0 •

Changelog

Source

30.1.0 (2018-07-27)

-1061 Fixes default bar width for chart with only one bar. Thanks @40x -1062 Improvements for victory-native stability

  • Supports clipPath prop on all primitive components
  • generates keys based on name or id prop. -1063 Makes prop-types a real dependency
boygirl
published 30.0.0 •

Changelog

Source

30.0.0 (2018-07-17)

Victory is becoming a monorepo!

This will not be a breaking change for the majority of users, especially those importing all components from the main victory npm package

Breaking Changes

  • The Axis / Grid primitive component has been renamed LineSegment
  • Victory no longer supports git installs
  • victory-chart and victory-core packages export different sets of packages than they used to. See the complete list below

New Package Organization

  • victory exports everything exported from the packages below
  • victory-axis@30.0.0 exports VictoryAxis
  • victory-area@30.0.0 exports VictoryArea and Area
  • victory-bar@30.0.0 exports VictoryBar and Bar
  • victory-box-plot@30.0.0 exports VictoryBoxPlot
  • victory-brush-container@30.0.0 exports VictoryBrushContainer, BrushHelpers and brushContainerMixin
  • victory-brush-line@30.0.0 exports VictoryBrushLine
  • victory-candlestick@30.0.0 exports VictoryCandlestick and Candle
  • victory-chart@30.0.0 exports VictoryChart
  • victory-core@30.0.0 still exports several packages that are used by several Victory components:
    • VictoryAnimation
    • VictoryClipContainer
    • VictoryContainer
    • VictoryLabel
    • VictoryPortal and Portal
    • VictoryTheme
    • VictoryTransition
    • Several primitive components: Arc, Border / Box, Circle, ClipPath, LineSegment (formerly Axis / Grid), Line, Path, Point, Rect, Text, TSpan, Whisker
    • Several utilities:
      • addEvents, Axis, Collection, CommonProps, Data, DefaultTransitions, Domain, Events, Helpers, Immutable, LabelHelpers, Log, PropTypes, Scale, Selection, Style, TextSize, Timer, Transitions, Wrapper
  • victory-create-container@30.0.0 exports createContainer, combineContainerMixins and makeCreateContainerFunction
  • victory-cursor-container@30.0.0 exports VictoryCursorContainer, CursorHelpers and cursorContainerMixin
  • victory-errorbar@30.0.0 exports VictoryErrorBar and ErrorBar
  • victory-group@30.0.0 exports VictoryGroup
  • victory-legend@30.0.0 exports VictoryLegend
  • victory-line@30.0.0 exports VictoryLine and Curve
  • victory-pie@30.0.0 exports VictoryPie and Slice
  • victory-scatter@30.0.0 exports VictoryScatter
  • victory-selection-container@30.0.0 exports VictorySelectionContainer, SelectionHelpers and selectionContainerMixin
  • victory-shared-events@30.0.0 exports VictorySharedEvents
  • victory-stack@30.0.0 exports VictoryStack
  • victory-tooltip@30.0.0 exports VictoryTooltip and Flyout
  • victory-voronoi@30.0.0 exports VictoryVoronoi and Voronoi
  • victory-voronoi-container@30.0.0 exports VictoryVoronoiContainer, VoronoiHelpers and voronoiContainerMixin
  • victory-zoom-container@30.0.0 exports VictoryZoomContainer, RawZoomHelpers, ZoomHelpers and zoomContainerMixin
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc