0
A
回答
1
可以单独样式每个轴的标签,还有如何做到这一点的文档中的例子:
http://teethgrinder.co.uk/open-flash-chart-2/x-axis-labels-3.php
$x_labels = new x_axis_labels();
// Set the defaults
$x_labels->set_steps(2); // show every other label
$x_labels->set_vertical();
$x_labels->set_colour('#ff0000');
$x_labels->set_size(16);
$tmp = array();
// these labels will inherit their properties from $x_labels
// including 'visible' from the 'steps' value (which, for
// this example is 2) I have noted the inherited visible
// status for each item:
$tmp[] = 'one'; // visible
$tmp[] = 'two'; // invisible
$tmp[] = 'three'; // visible
$tmp[] = 'four'; // invisible
$tmp[] = 'five'; // visible
// these will override some or all of the
// inherited properties
$tmp[] = new x_axis_label('six', '#0000FF', 30, 270); // invisible
$tmp[] = new x_axis_label('seven', '#0000FF', 30, 270); // visible
$eight = new x_axis_label('eight', '#8C773E', 16, 315); // would be invisible, but:
$eight->set_visible(); // <-- FORCE this label visible
$tmp[] = $eight;
$tmp[] = new x_axis_label('nine', '#2683CF', 16, 0); // visible
// add the labels to the X Axis Labels object
$x_labels->set_labels($tmp);
相关问题
- 1. 我有2个项目控件突出显示在一个itemcontrol中选定的项目突出显示其他项目中的对应项目控件
- 2. 使用Open Flash Chart 2创建烧毁图表的提示
- 3. 突出显示GridView项目
- 4. 在ListView中突出显示项目
- 5. WPF突出显示项目
- 6. 在jQuery UI中突出显示一个项目Multiselect Next
- 7. Treeview - 突出显示多个项目
- 8. 突出显示flex中tilelist中的第一个项目
- 9. 如何在Symfony上实现Open Flash Chart 2
- 10. 如何在flex 3项目中使用Open flash chart(或任何库)?
- 11. RecyclerView中突出显示的大项目
- 12. 突出显示TreeView中的父项目
- 13. 选中时突出显示项目
- 14. silverlight combobox - 突出显示弹出列表中的一些项目
- 15. dz的Open Flash Chart 2补丁程序错误
- 16. 在卡片UI中突出显示整个项目ListView
- 17. 在列表框中突出显示多个项目/行
- 18. 如何使用*突出显示功能*突出显示ListView中的项目?
- 19. 动态地突出显示一个列表项目而不突出显示其子项
- 20. jquery treeview突出显示所选项目
- 21. 突出显示选定的ListView项目
- 22. DragSortListView并突出显示项目
- 23. 突出显示选定的GalleryView项目
- 24. 如何突出显示ListView项目
- 25. 突出显示列表项目android
- 26. ListView,突出显示所选项目
- 27. RecyclerView突出显示项目点击
- 28. listview与listadapter突出显示项目
- 29. Android:突出显示setSelecton上的项目
- 30. ListView突出显示所选项目