Skip to content

Commit 263adfa

Browse files
Merge pull request #1021 from Codeinwp/bugfix/pro/383
Fixed editor rows limitation issue
2 parents 58752e3 + 7039ec3 commit 263adfa

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

classes/Visualizer/Gutenberg/build/block.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

classes/Visualizer/Gutenberg/src/Components/ChartEditor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class ChartEditor extends Component {
5757
colHeaders={ true }
5858
allowInvalid={ false }
5959
className="htEditor"
60+
height="auto"
6061
cells={ ( row, col, prop ) => {
6162
let cellProperties;
6263
if ( 1 === row ) {

classes/Visualizer/Gutenberg/src/Components/Sidebar/SeriesSettings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class SeriesSettings extends Component {
6060

6161
{ Object.keys( settings.series )
6262
.map( ( i, index ) => {
63+
i = parseInt( i ) + 1;
6364
let indexToFormat = parseInt( i );
6465
let label = series[i].label || '';
6566
let type = series[i].type || '';

0 commit comments

Comments
 (0)