Skip to content

Commit df591d2

Browse files
authored
feat(line-chart-web): convert color props to expression (#664)
2 parents 84db255 + abc57b6 commit df591d2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages/pluggableWidgets/line-chart-web/src/LineChart.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,21 +145,25 @@
145145
<enumerationValue key="custom">Custom</enumerationValue>
146146
</enumerationValues>
147147
</property>
148-
<property key="staticLineColor" type="textTemplate" required="false" multiline="false" dataSource="staticDataSource">
148+
<property key="staticLineColor" type="expression" required="false" dataSource="staticDataSource">
149149
<caption>Line color</caption>
150150
<description />
151+
<returnType type="String" />
151152
</property>
152-
<property key="dynamicLineColor" type="textTemplate" required="false" multiline="false" dataSource="dynamicDataSource">
153+
<property key="dynamicLineColor" type="expression" required="false" dataSource="dynamicDataSource">
153154
<caption>Line color</caption>
154155
<description />
156+
<returnType type="String" />
155157
</property>
156-
<property key="staticMarkerColor" type="textTemplate" required="false" multiline="false" dataSource="staticDataSource">
158+
<property key="staticMarkerColor" type="expression" required="false" dataSource="staticDataSource">
157159
<caption>Marker color</caption>
158160
<description />
161+
<returnType type="String" />
159162
</property>
160-
<property key="dynamicMarkerColor" type="textTemplate" required="false" multiline="false" dataSource="dynamicDataSource">
163+
<property key="dynamicMarkerColor" type="expression" required="false" dataSource="dynamicDataSource">
161164
<caption>Marker color</caption>
162165
<description />
166+
<returnType type="String" />
163167
</property>
164168
</propertyGroup>
165169
<propertyGroup caption="Events">

0 commit comments

Comments
 (0)