@@ -10,7 +10,7 @@ module.exports = class uPlotScatter {
1010
1111 this . eventHandler = new EventHandler ( ) ;
1212
13- this . seriesSection = Container . spliter ( {
13+ this . seriesSection = Container . splitter ( {
1414 newSerie : Container . div ( {
1515 newSerieSelector : Field . select ( {
1616 label : 'Nova série' ,
@@ -32,7 +32,7 @@ module.exports = class uPlotScatter {
3232
3333 this . form = Container . div ( {
3434 uPlotSeriesStyle : this . seriesSection ,
35- uPlotXAxesStyle : Container . spliter ( {
35+ uPlotXAxisStyle : Container . splitter ( {
3636 xAxis : Field . select ( {
3737 att : 'inputName' ,
3838 label : "Eixo X" ,
@@ -45,7 +45,7 @@ module.exports = class uPlotScatter {
4545 ] ,
4646 } ) ,
4747 scaleOpts : Container . formRow ( {
48- xAxesDirection : Field . select (
48+ xAxisDirection : Field . select (
4949 {
5050 label : 'Direção' ,
5151 att : 'dir' ,
@@ -62,7 +62,7 @@ module.exports = class uPlotScatter {
6262 ] ,
6363 } ,
6464 ) ,
65- xAxesPos : Field . select (
65+ xAxisPos : Field . select (
6666 {
6767 label : 'Posição' ,
6868 att : 'side' ,
@@ -85,8 +85,8 @@ module.exports = class uPlotScatter {
8585 text : 'Eixo X' ,
8686 id : 'uPlotXAxeStyle' ,
8787 } ) ,
88- uPlotYAxesStyle : Container . spliter ( {
89- yAxesScale : Field . select ( {
88+ uPlotYAxisStyle : Container . splitter ( {
89+ yAxisScale : Field . select ( {
9090 label : 'Escala' ,
9191 att : 'type' ,
9292 options : [
@@ -95,13 +95,13 @@ module.exports = class uPlotScatter {
9595 value : 1 ,
9696 } ,
9797 {
98- text : 'Logaritimica ' ,
98+ text : 'Logarítmica ' ,
9999 value : 3 ,
100100 } ,
101101 ] ,
102102 } ) ,
103103 scaleOpts : Container . formRow ( {
104- yAxesDirection : Field . select (
104+ yAxisDirection : Field . select (
105105 {
106106 label : 'Tamanho' ,
107107 att : 'dir' ,
@@ -118,7 +118,7 @@ module.exports = class uPlotScatter {
118118 ] ,
119119 } ,
120120 ) ,
121- yAxesPos : Field . select (
121+ yAxisPos : Field . select (
122122 {
123123 label : 'Posição' ,
124124 att : 'side' ,
@@ -169,7 +169,7 @@ module.exports = class uPlotScatter {
169169
170170 window . CurrentBlock . sendBlockInstruction ( {
171171 command : 'editXAxis' ,
172- data : this . form . formTree . uPlotXAxesStyle . self . getData ( ) . blockConfig . uPlot . scatter . axis . x
172+ data : this . form . formTree . uPlotXAxisStyle . self . getData ( ) . blockConfig . uPlot . scatter . axis . x
173173 } ) ;
174174
175175 }
@@ -178,12 +178,12 @@ module.exports = class uPlotScatter {
178178
179179 window . CurrentBlock . sendBlockInstruction ( {
180180 command : 'editYAxis' ,
181- data : this . form . formTree . uPlotYAxesStyle . self . getData ( ) . blockConfig . uPlot . scatter . axis . y
181+ data : this . form . formTree . uPlotYAxisStyle . self . getData ( ) . blockConfig . uPlot . scatter . axis . y
182182 } ) ;
183183
184184 }
185185
186- attXandYInputList ( ) {
186+ attXAndYInputList ( ) {
187187
188188 const callBack = ( input ) => {
189189
@@ -196,7 +196,7 @@ module.exports = class uPlotScatter {
196196 allInputs = allInputs . concat ( window . CurrentInputGroup . rawInputs ) ;
197197 allInputs = allInputs . concat ( window . CurrentInputGroup . inputs ) ;
198198
199- this . form . formTree . uPlotXAxesStyle . xAxis . setOptions ( allInputs , callBack ) ;
199+ this . form . formTree . uPlotXAxisStyle . xAxis . setOptions ( allInputs , callBack ) ;
200200
201201 this . seriesSection . formTree . newSerie . newSerieSelector . setOptions ( allInputs , callBack ) ;
202202 }
@@ -314,7 +314,7 @@ module.exports = class uPlotScatter {
314314
315315 this . eventHandler . addEventListener ( 'AttInputList' , ( ) => {
316316
317- this . attXandYInputList ( ) ;
317+ this . attXAndYInputList ( ) ;
318318
319319 } ) ;
320320
@@ -340,17 +340,17 @@ module.exports = class uPlotScatter {
340340
341341 } ;
342342
343- this . form . formTree . uPlotXAxesStyle . self . htmlComponent . addEventListener ( 'input' , ( evt ) => {
343+ this . form . formTree . uPlotXAxisStyle . self . htmlComponent . addEventListener ( 'input' , ( evt ) => {
344344
345345 this . editXAxis ( ) ;
346346 evt . stopPropagation ( ) ;
347347
348348 } ) ;
349349
350- this . form . formTree . uPlotYAxesStyle . self . htmlComponent . addEventListener ( 'input' , ( evt ) => {
350+ this . form . formTree . uPlotYAxisStyle . self . htmlComponent . addEventListener ( 'input' , ( evt ) => {
351351
352352 this . editYAxis ( ) ;
353- evt . stopPropagation ( ) ;
353+ // evt.stopPropagation();
354354
355355 } ) ;
356356
0 commit comments