Changes for page Lua Script
Last modified by Devin Chen on 2025/11/10 16:04
From version 10.1
edited by xingzhi lin
on 2025/10/31 11:55
on 2025/10/31 11:55
Change comment:
There is no comment for this version
To version 11.1
edited by xingzhi lin
on 2025/11/03 11:23
on 2025/11/03 11:23
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8062,12 +8062,118 @@ 8062 8062 8063 8063 == chart.setFormulaBtnSpacing == 8064 8064 8065 + 8066 +**Prototype : **chart.setFormulaBtnSpacing(partname, spacing) 8067 + 8068 +**Function: **Set the spacing between new formula buttons 8069 + 8070 +**Parameters**: 8071 + 8072 +* ((( 8073 +partname(string): Component name 8074 +))) 8075 +* ((( 8076 +spacing(int): Button spacing (unit: px (pixels)) 8077 +))) 8078 + 8079 +**Return: ** 8080 + 8081 +* Success: True 8082 +* Failure: False 8083 + 8084 +**Example** 8085 + 8086 + 8087 +{{code language="LUA"}} 8088 +chart.setFormulaBtnSpacing("2_FOA_0", 5) 8089 +{{/code}} 8090 + 8065 8065 == chart.setFormulaBtnScale == 8066 8066 8093 + 8094 +**Prototype : **chart.setFormulBtnScale(partname, scale) 8095 + 8096 +**Function: **Set the formula button size scaling 8097 + 8098 +**Parameters**: 8099 + 8100 +* ((( 8101 +partname(string): Component name 8102 +))) 8103 +* ((( 8104 +scale(double): Scaling factor, default is 1, range [0.1, 5] 8105 +))) 8106 + 8107 +**Return: ** 8108 + 8109 +* Success: True 8110 +* Failure: False 8111 + 8112 +**Example** 8113 + 8114 + 8115 +{{code language="LUA"}} 8116 +chart.setFormulaBtnScale("2_FOA_0", 1.5) 8117 +{{/code}} 8118 + 8067 8067 == chart.setBarChartBtnSpacing == 8068 8068 8121 + 8122 +**Prototype : **chart.setBarChartBtnSpacing(partname, spacing) 8123 + 8124 +**Function: **Set the spacing between new barchart buttons 8125 + 8126 +**Parameters**: 8127 + 8128 +* ((( 8129 +partname(string): Component name 8130 +))) 8131 +* ((( 8132 +spacing(int): Button spacing (unit: px (pixels)) 8133 +))) 8134 + 8135 +**Return: ** 8136 + 8137 +* Success: True 8138 +* Failure: False 8139 + 8140 +**Example** 8141 + 8142 + 8143 +{{code language="LUA"}} 8144 +chart.setBarChartBtnSpacing("0_BC_0", 5) 8145 +{{/code}} 8146 + 8069 8069 == chart.setBarChartBtnScale == 8070 8070 8149 + 8150 + 8151 +**Prototype : **chart.setBarChartBtnScale(partname, scale) 8152 + 8153 +**Function: **Set the barchart button size scaling 8154 + 8155 +**Parameters**: 8156 + 8157 +* ((( 8158 +partname(string): Component name 8159 +))) 8160 +* ((( 8161 +scale(double): Scaling factor, default is 1, range [0.1, 5] 8162 +))) 8163 + 8164 +**Return: ** 8165 + 8166 +* Success: True 8167 +* Failure: False 8168 + 8169 +**Example** 8170 + 8171 + 8172 + 8173 +{{code language="LUA"}} 8174 +chart.setBarChartBtnScale("0_BC_0", 1.5) 8175 +{{/code}} 8176 + 8071 8071 = Environment operation = 8072 8072 8073 8073 (% class="wikigeneratedid" id="HGetsqliteenvironment" %)