ITeye博客

Openflashchart Json 数据格式

huangro · 2011-01-31 14:44 · Javascript · Web前端 · json · Markdown


{ "elements": [ { "type": "line", "values": [ 5, 5, 5, 5, 5, 6, 5, 5, 4, 6 ], "dot-style": { "type": "hollow-dot", "dot-size": 3, "halo-size": 1, "tip": "#x_label#
#val#" } } ], "title": { "text": "X Axis Labels Complex Example" }, "x_axis": { "stroke": 1, "colour": "#428C3E", "tick-height": 5, "grid-colour": "#86BF83", "steps": 1, "labels": { "steps": 2, "rotate": 270, "colour": "#ff0000", "size": 16, "labels": [ "one", "two", "three", "four", "five", { "text": "six", "colour": "#0000ff", "size": 30, "rotate": 270 }, { "text": "seven", "colour": "#0000ff", "size": 30, "rotate": 270 }, { "text": "eight", "colour": "#8c773e", "size": 16, "rotate": 315, "visible": true }, { "text": "nine", "colour": "#2683cf", "size": 16, "rotate": 0 } ] } } }

仅作参考

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。