renderAs="<%=renderAs%>"<% } %>><% if (titleText) {%>
position="<%=titlePosition%>" <% } %><% if (titleAlign) {%>
align="<%=titleAlign%>" <% } %>
><% }%><% if (legend) {%>
align="<%=legendAlign%>"<% } %><% if (legendPosition) {%>
position="<%=legendPosition%>"<% } %><% if (legendOrientation) {%>
orientation="<%=legendOrientation%>"<% } %><% if (legendTitleText || legendTitleAlign || legendTitlePosition) {%>
[title]="legendTitle"<% } %>><% }%>
<% if (series.length) {%><% for (let item of series) {%>
xField="<%=item.xField%>"<% } %>
[data]="seriesData"<% if (item.yField) {%>
yField="<%=item.yField%>"<% } %><% if (item.name) {%>
name="<%=item.name%>"<% } %><% if (item.type) {%>
type="<%=item.type%>"<% } %><% if (item.width || item.width === 0) {%>
[width]="<%=item.width%>"<% } %>><% } %><% } %>
<% if (xAxis.length) {%><% for (let item of xAxis) {%>
}
name="<%=item.name%>"<% } %><% if (item.type) {%>
type="<%=item.type%>"<% } %>><% if (item.title) {%>
<% } %>
<% } %><% } %>
<% if (yAxis.length) {%><% for (let item of yAxis) {%>
}
name="<%=item.name%>"<% } %><% if (item.type) {%>
type="<%=item.type%>"<% } %>><% if (item.title) {%>
<% } %>
<% } %><% } %>