Line | |
---|
1 | {
|
---|
2 | "title":{
|
---|
3 | "text": "Floating bars, -10 to 10",
|
---|
4 | "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
|
---|
5 | },
|
---|
6 |
|
---|
7 | "y_legend":{
|
---|
8 | "text": "Open Flash Chart",
|
---|
9 | "style": "{color: #736AFF; font-size: 12px;}"
|
---|
10 | },
|
---|
11 |
|
---|
12 | "elements":[
|
---|
13 | {
|
---|
14 | "type": "bar",
|
---|
15 | "alpha": 0.5,
|
---|
16 | "colour": "#9933CC",
|
---|
17 | "text": "Page views",
|
---|
18 | "font-size": 10,
|
---|
19 | "values" : [9,9,5,7,{"top":4,"bottom":-4,"tip":"LOOK<br>#top#,#bottom# = #val#"},-9,{"top":4,"bottom":-5}]
|
---|
20 | }
|
---|
21 | ],
|
---|
22 |
|
---|
23 | "x_axis":{
|
---|
24 | "labels": ["January","February","March","April","May","June","July"]
|
---|
25 | },
|
---|
26 |
|
---|
27 | "y_axis":{
|
---|
28 | "min": 10,
|
---|
29 | "max": -10
|
---|
30 | },
|
---|
31 |
|
---|
32 | "tooltip":{
|
---|
33 | "text": "My Tip<br>#top#,#bottom# = #val#"
|
---|
34 | }
|
---|
35 |
|
---|
36 | }
|
---|
37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.