/** * WordPress dependencies */ const { __ } = wp.i18n; const { Component, Fragment } = wp.element; const { ExternalLink, PanelBody, TextControl } = wp.components; class SizeAxis extends Component { constructor() { super( ...arguments ); } render() { const settings = this.props.chart['visualizer-settings']; return ( { settings.sizeAxis.minValue = e; this.props.edit( settings ); } } /> { settings.sizeAxis.maxValue = e; this.props.edit( settings ); } } /> { settings.sizeAxis.minSize = e; this.props.edit( settings ); } } /> { settings.sizeAxis.maxSize = e; this.props.edit( settings ); } } /> { settings.markerOpacity = e; this.props.edit( settings ); } } /> { settings.series[0].format = e; this.props.edit( settings ); } } />

{ __( 'For number axis labels, this is a subset of the formatting ' ) } { __( 'ICU pattern set.' ) } { __( ' For instance, $#,###.## will display values $1,234.56 for value 1234.56. Pay attention that if you use #%% percentage format then your values will be multiplied by 100.' ) }

); } } export default SizeAxis;