Rev | Line | |
---|
[7849] | 1 | /*
|
---|
| 2 |
|
---|
| 3 | many points from a single set in the same location
|
---|
| 4 | many points from different sets in the same location
|
---|
| 5 |
|
---|
| 6 | tooltip is set to hover -- is this a bug??
|
---|
| 7 |
|
---|
| 8 | */
|
---|
| 9 |
|
---|
| 10 | {
|
---|
| 11 | "title":{
|
---|
| 12 | "text":"Calculate Range",
|
---|
| 13 | "style":"{color: #736AFF; font-size: 25;}"
|
---|
| 14 | },
|
---|
| 15 |
|
---|
| 16 | "elements":[
|
---|
| 17 | {
|
---|
| 18 | "type": "scatter_line",
|
---|
| 19 | "dot-size": 10,
|
---|
| 20 | "tip": "Scatter 1<br>#x#, #y#",
|
---|
| 21 | "colour": "#000000",
|
---|
| 22 | "values" : [
|
---|
| 23 | {"x":0, "y":0, "tip":"HELLO 1" },
|
---|
| 24 | {"x":1, "y":0 }
|
---|
| 25 | ]
|
---|
| 26 | },
|
---|
| 27 | {
|
---|
| 28 | "type": "scatter",
|
---|
| 29 | "dot-size": 7,
|
---|
| 30 | "tip": "Scatter 2<br>#x#, #y#",
|
---|
| 31 | "colour": "#600060",
|
---|
| 32 | "values" : [
|
---|
| 33 | {"x":0, "y":0, "tip":"HELLO 2" },
|
---|
| 34 | {"x":2, "y":0 }
|
---|
| 35 | ]
|
---|
| 36 | }
|
---|
| 37 |
|
---|
| 38 | ],
|
---|
| 39 |
|
---|
| 40 | "x_axis":{
|
---|
| 41 | "offset": false,
|
---|
| 42 | "min": -5,
|
---|
| 43 | "max": 5
|
---|
| 44 | },
|
---|
| 45 |
|
---|
| 46 | "y_axis":{
|
---|
| 47 | "min": -5,
|
---|
| 48 | "max": 5
|
---|
| 49 | },
|
---|
| 50 |
|
---|
| 51 | "y_legend":{
|
---|
| 52 | "text": "Time of day",
|
---|
| 53 | "style": "{font-size: 20px; color: #736AFF;}"
|
---|
| 54 | },
|
---|
| 55 |
|
---|
| 56 | "tooltip":{
|
---|
| 57 | "mouse": 2,
|
---|
| 58 | "stroke":1
|
---|
| 59 | }
|
---|
| 60 | }
|
---|
| 61 |
|
---|
| 62 |
|
---|
| 63 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.