themeGraph = new SuperMap.REST.ThemeGraph({
items: new Array(item1, item2),
barWidth: 0.03,
graduatedMode: SuperMap.REST.GraduatedMode.SQUAREROOT,
overlapAvoided: true,
graphAxes: new SuperMap.REST.ThemeGraphAxes({
axesDisplayed: true
}),
graphAxesTextDisplayMode:SuperMap.REST.GraphAxesTextDisplayMode.ALL,
graphSize: new SuperMap.REST.ThemeGraphSize({
maxGraphSize: 300000,
minGraphSize: 200000
}),
graphText: new SuperMap.REST.ThemeGraphText({
graphTextDisplayed: true,
graphTextFormat: SuperMap.REST.ThemeGraphTextFormat.VALUE,
graphTextStyle: new SuperMap.REST.ServerTextStyle({
sizeFixed: true,
fontHeight: 9,
fontWidth: 5
})
}),
graphType: SuperMap.REST.ThemeGraphType.LINE
})
我将划线代码放上之后,原本能显示的专题图,也不能显示了,不知道我假的位置不对,还是这个写法不对。