PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.5.0
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.5.0
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | classes/Visualizer/Gutenberg/src/Components/Sidebar/SeriesSettings.js +5 -16 3.10.03.5.0 View file →
@@ -60,11 +60,9 @@
60 60
61 61 { Object.keys( settings.series )
62 62 .map( ( i, index ) => {
63 63 let indexToFormat = parseInt( i );
64 - let label = series[i].label || '';
65 - let type = series[i].type || '';
66 - let timer = 0;
64 +
67 65 if ( 'tabular' !== type ) {
68 66 indexToFormat = index;
69 67 }
70 68
@@ -71,9 +69,9 @@
71 69 i++;
72 70
73 71 return (
74 72 <PanelBody
75 - title={ label }
73 + title={ series[i].label }
76 74 className="visualizer-inner-sections"
77 75 initialOpen={ false }
78 76 >
79 77
@@ -104,17 +102,8 @@
104 102 onChange={ e => {
105 103 settings.series[index].lineWidth = e;
106 104 this.props.edit( settings );
107 105 } }
108 - onKeyUp={ e => {
109 - clearTimeout( timer );
110 - timer = setTimeout( () => {
111 - if ( '' != settings.series[index].lineWidth && 0 >= settings.series[index].lineWidth ) {
112 - settings.series[index].lineWidth = '0.1';
113 - this.props.edit( settings );
114 - }
115 - }, 700 );
116 - } }
117 106 />
118 107
119 108 <TextControl
120 109 label={ __( 'Point Size' ) }
@@ -131,9 +120,9 @@
131 120 ) }
132 121
133 122 { ( -1 >= [ 'candlestick' ].indexOf( type ) ) &&
134 123
135 - ( type && 'number' === type ) ? (
124 + ( 'number' === series[i].type ) ? (
136 125
137 126 <Fragment>
138 127
139 128 <TextControl
@@ -157,9 +146,9 @@
157 146 </Fragment>
158 147
159 148 ) :
160 149
161 - ( 0 <= [ 'date', 'datetime', 'timeofday' ].indexOf( type ) ) && (
150 + ( 0 <= [ 'date', 'datetime', 'timeofday' ].indexOf( series[i].type ) ) && (
162 151
163 152 <Fragment>
164 153
165 154 <TextControl
@@ -174,9 +163,9 @@
174 163 />
175 164
176 165 <p>
177 166 { __( 'This is a subset of the date formatting ' ) }
178 - <ExternalLink href="https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax">
167 + <ExternalLink href="http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax">
179 168 { __( 'ICU date and time format.' ) }
180 169 </ExternalLink>
181 170 </p>
182 171