File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 5252 < option value ="1 "> x对数轴</ option >
5353 < option value ="2 "> y对数轴</ option >
5454 < option value ="3 "> 双对数轴</ option >
55+ < option value ="4 " v-show ="enablepolar "> 极坐标轴</ option >
5556 </ select >
5657 </ td >
5758 </ tr >
102103 < lib category ="selectcolormodel " chname ="CMYK模式 " libname ="cmyk " customized ="1 "> </ lib >
103104 < lib :id ="4 " category ="pgfplots " chname ="统计库 " libname ="statistics " customized ="0 "> </ lib >
104105 < lib :id ="5 " category ="pgfplots " chname ="间隙填充库 " libname ="fillbetween " customized ="0 "> </ lib >
106+ < lib :id ="6 " category ="pgfplots " chname ="极坐标库 " libname ="polar " customized ="0 "> </ lib >
105107 </ div >
106108 </ details >
107109 < details id ="data " open ="true ">
179181
180182 </ div >
181183 < template id ="libtpl ">
182- < td > < input type ="checkbox " v-model ="enabled " @change ="onlibchange "> {{chname}}</ input > </ td >
184+ < div class =" libchecker " > < input type ="checkbox " v-model ="enabled " @change ="onlibchange "> {{chname}}</ input > </ div >
183185 </ template >
184186 < template id ="parambartpl ">
185187 < div class ="parambar " style ="display: block; ">
Original file line number Diff line number Diff line change @@ -340,4 +340,8 @@ input[type=text]{
340340 width : 20px ;
341341 height : 10px ;
342342 border : 1px solid black;
343+ }
344+
345+ .libchecker {
346+ display : inline-block;
343347}
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ Vue.component('lib',{
3939 else if ( this . id == 4 )
4040 for ( var key in statisticsDic )
4141 sparamDic [ key ] = statisticsDic [ key ] ;
42+ else if ( this . id == 6 )
43+ app . enablepolar = true ;
4244 }
4345 else {
4446 delete app . packages [ this . id ] ;
@@ -48,6 +50,11 @@ Vue.component('lib',{
4850 else if ( this . id == 4 )
4951 for ( var key in statisticsDic )
5052 delete sparamDic [ key ] ;
53+ else if ( this . id == 6 ) {
54+ if ( app . axistype == "4" )
55+ app . axistype = "0" ;
56+ app . enablepolar = false ;
57+ }
5158 }
5259 updatePkg ( ) ;
5360 if ( this . id )
@@ -661,6 +668,7 @@ var app = new Vue({
661668 enableLegend : true ,
662669 enablepin : false ,
663670 enablesource : true ,
671+ enablepolar : false ,
664672 manual : false ,
665673 series : "" ,
666674 param : "" ,
@@ -700,6 +708,8 @@ var app = new Vue({
700708 case "1" : axistypename = "semilogxaxis" ; break ;
701709 case "2" : axistypename = "semilogyaxis" ; break ;
702710 case "3" : axistypename = "loglogaxis" ; break ;
711+ case "4" : axistypename = "polaraxis" ;
712+ break ;
703713 }
704714 return ( this . enablepin ? tp_premable : t_premable )
705715 + "\\begin{" + axistypename + "}["
You can’t perform that action at this time.
0 commit comments