Fusion Charts - 控制边距、填充等
正如您在此屏幕截图中看到的,我在边距/填充方面遇到了一些问题。例如,趋势线的顶部被图表区域的顶部覆盖。与底部同上。并且数据点区域之间没有足够的空间。
请参阅:http://www.fusioncharts.com/flex/docs/charts/contents/ChartSS/ScrollArea2D.html#Anchor3
这是一个片段我现有的配置:
xml += "xAxisName='Bets' yAxisName='Chips' canvasPadding='30' formatNumberScale='0' "
xml += "toolTipBorderColor='951818' numVisiblePlot='7' showLegend='0' scrollHeight='15' scrollBtnWidth='14' "
xml += "chartBottomMargin='5' chartTopMargin='3' chartLeftMargin='2' chartRightMargin='10' "
xml += "xAxisNamePadding='0' yAxisNamePadding='2' captionPadding='3'>"
xml += "yAxisValuesPadding='0'>"
如果需要,我可以粘贴整个内容。
As you can see in this screenshot, I'm having some issues with the margins/padding. For example, the top of the trend line is being covered up by top of chart area. Ditto with bottom. And there's not enough space between the data point areas.
See: http://www.fusioncharts.com/flex/docs/charts/contents/ChartSS/ScrollArea2D.html#Anchor3
Here's a snippet of my existing config:
xml += "xAxisName='Bets' yAxisName='Chips' canvasPadding='30' formatNumberScale='0' "
xml += "toolTipBorderColor='951818' numVisiblePlot='7' showLegend='0' scrollHeight='15' scrollBtnWidth='14' "
xml += "chartBottomMargin='5' chartTopMargin='3' chartLeftMargin='2' chartRightMargin='10' "
xml += "xAxisNamePadding='0' yAxisNamePadding='2' captionPadding='3'>"
xml += "yAxisValuesPadding='0'>"
I can paste the whole thing, if need be.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
图表的上限和下限似乎与趋势线的值相同。因此这种重叠。在滚动图表中,您不能将趋势线放在画布边框上方。
It seems that the upper and the lower limit of the chart is same as the value of trendlines. Hence this overlapping. In scroll chart you can not put trendlines above the canvas border.