ILog Elixir ColumnChart3D 标签格式不正确
我查看了所有 IBM doc 和 Adobe livedocs,动态加载的列的标签未在列下正确居中。这是组件代码。标签偏离中心到左侧,有些标签与应在位置的左侧重叠。我尝试向几个不同的区域添加样式但无法得到它:
<ilog:ColumnChart3D id="columnChart" dataProvider="{chartData}" showDataTips="true" elevationAngle="5" projectionType="oblique" width="90%" height="100%"
rotationAngle="2" lightLatitude="0" lightLongitude="0"
ambientLight="0.1"
totalDepth="2" zoom="1" >
<ilog:horizontalAxis>
<mx:CategoryAxis dataProvider="{chartData}"
categoryField="{chartCatField}"/>
</ilog:horizontalAxis>
</ilog:ColumnChart3D>
<mx:Legend dataProvider="{columnChart}" right="0" bottom="0" />
</s:Panel>
I've looked through all IBM doc and Adobe livedocs, My labels for my columns which are loading dynamically are not centered properly under the columns. Here is the component code. The labels are off center to the left, and some overlap the one left of where it should be. I tried adding styles to several different areas but couldn't get it:
<ilog:ColumnChart3D id="columnChart" dataProvider="{chartData}" showDataTips="true" elevationAngle="5" projectionType="oblique" width="90%" height="100%"
rotationAngle="2" lightLatitude="0" lightLongitude="0"
ambientLight="0.1"
totalDepth="2" zoom="1" >
<ilog:horizontalAxis>
<mx:CategoryAxis dataProvider="{chartData}"
categoryField="{chartCatField}"/>
</ilog:horizontalAxis>
</ilog:ColumnChart3D>
<mx:Legend dataProvider="{columnChart}" right="0" bottom="0" />
</s:Panel>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
3D 图表轴渲染器标签布局不如 2D 图表智能,因为 3D 空间中的布局并不那么容易。
您可以尝试使用 AxisRenderer3D 上的 labelRotation 属性来旋转标签,以免它们折叠。或者使用同一对象上的 fontSize 属性来减小它们的大小。
您还可以根据需要使用 canDropLabels 属性删除一些标签。
仅供参考 IBM ILOG Elixir 确实有特定的论坛此处,您可以在其中找到有关产品的信息。
The 3D charts axis renderer labels layout is not as smart as the one of the 2D charts due to the layout in a 3D space that is not as easy.
You can try to labelRotation property on the AxisRenderer3D to rotate the labels so that they don't collapse. Or reduce their size using the fontSize property on the same object.
You can also remove some labels using the canDropLabels property is needed.
FYI IBM ILOG Elixir does have specific forum here where you can find information on the product.