[7849] | 1 | {
|
---|
| 2 | "title":{
|
---|
| 3 | "text":"X Labels - User Supplied Labels",
|
---|
| 4 | "style":"{font-size: 16px; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }"
|
---|
| 5 | },
|
---|
| 6 |
|
---|
| 7 | "x_axis":{
|
---|
| 8 | "labels" : {
|
---|
| 9 | "labels":["2:00am<br>line 2<br>line 3","","","","2:40","2:50",
|
---|
| 10 | "3:00am","3:10","3:20","3:30","3:40","3:50",
|
---|
| 11 | "4:00am","4:10","4:20","4:30","4:40","4:50",
|
---|
| 12 | "5:00am","5:10","5:20","5:30","5:40","5:50",
|
---|
| 13 | "6:00am","6:10","6:20","6:30","6:40","6:50",
|
---|
| 14 | "7:00am","7:10","7:20","7:30","7:40","7:50",
|
---|
| 15 | "8:00am","8:10","8:20","8:30","8:40","8:50",
|
---|
| 16 | "9:00am","9:10","9:20"]
|
---|
| 17 | }
|
---|
| 18 | },
|
---|
| 19 |
|
---|
| 20 | "elements":[
|
---|
| 21 | {
|
---|
| 22 | "type": "line",
|
---|
| 23 | "colour": "#736AFF",
|
---|
| 24 | "text": "Avg. wave height (cm)",
|
---|
| 25 | "font-size": 10,
|
---|
| 26 | "width": 2,
|
---|
| 27 | "dot-style": { "hollow":true, "background-colour":"#a44a80",
|
---|
| 28 | "background-alpha": 0.4, "width":1, "tip":"#x_label#<br>#val#" },
|
---|
| 29 | "values" : [1.5,1.69,1.88,2.06,2.21,2.34,2.43,2.48,2.49,2.47,2.40,2.30,2.17,2.01,1.83,1.64,1.44,1.24,1.05,0.88,0.74,0.62,0.54,0.50,0.50,0.54,0.61,0.72,0.86,1.03,1.22,1.41,1.61,1.81,1.99,2.15,2.29,2.39,2.46,2.49,2.48,2.44,2.35,2.23,2.08]
|
---|
| 30 | }
|
---|
| 31 | ],
|
---|
| 32 |
|
---|
| 33 | "tooltip":{
|
---|
| 34 | "shadow":false,
|
---|
| 35 | "stroke":5,
|
---|
| 36 | "colour":"#00d000",
|
---|
| 37 | "background":"#d0d0ff",
|
---|
| 38 | "title":"{font-size: 14px; color: #905050;}",
|
---|
| 39 | "body":"{font-size: 10px; font-weight: bold; color: #9090ff;}"
|
---|
| 40 | },
|
---|
| 41 |
|
---|
| 42 | "y_axis":{
|
---|
| 43 | "steps": 1,
|
---|
| 44 | "min": 0,
|
---|
| 45 | "max": 3
|
---|
| 46 | }
|
---|
| 47 |
|
---|
| 48 | }
|
---|