本帖最后由 306828231 于 2019-1-26 16:16 编辑
你好,能过Xml生成BarSeries出现异常,请问是Xml格式不对吗,如果是格式问题,麻烦给我一份可以正常生成BarSeries的Xml文件做参考
关键代码如下:
xml文件内容:
<?xml version="1.0"?>
-<Series>
-<BarSeries BarShape="Box" GapWidth="1" GapDepth="1.5" VaryColors="False" AutoOrigin="True" Origin="0" LabelContainsValue="True" YAxisId="0" LabelContainsCategoryName="False" SeriesNameDataField="" LegendAreaId="0" LabelSeparator=", " LabelContainsSeriesName="False" SeriesName="" Visible="True" LabelVisible="True" LabelNumberFormat="" LabelTextDirection="Horizontal" LabelRotationAngle="0" AssemblyQualifiedName="">
<Values AssemblyQualifiedName="" value0="0.15" value1="5.23" value2="9.13" value3="9.25" value4="8.38" value5="9.67" value6="0" value7="9.18" value8="9.32" value9="11.31" value10="13.71" value11="13.93" value12="12.81" value13="0" value14="14.2" value15="12" value16="7.95" value17="0" value18="0"/>
<CategoryNames AssemblyQualifiedName=""/>
<BarFills barFill0="Automatic" barFill1="Automatic" barFill2="Automatic" barFill3="Automatic" barFill4="Automatic" barFill5="Automatic" barFill6="Automatic" barFill7="Automatic" barFill8="Automatic" barFill9="Automatic" barFill10="SolidFill, 255,255,0,0"/>
<BarBorders/>
<BottomBevels/>
<TopBevels/>
</BarSeries>
</Series>
|
|