Group: Forum Members
Last Active: 6 Years Ago
Posts: 14,
Visits: 2
|
i am try to color both sides of a simple XY line graph. below is sample data. i would like the left side of the line to be colored green for safe and the right side to be colored red for unsafe. i can partially acheive this by using and area chart or hi-lo chart but cannot acheive fully what i want and that is to color the chart on both sides of the line from both axis right up to the line. also another problem is my x-values do not run in numerical order. how can i easily achieve my coloring and also some interactivity so when the user mouses over the green or red area a interactive tip pops up to tell the user, safe or unsafe area? x | y | 60 | 0 | 56.34 | 25.6 | 28.92 | 58.6 | 23.44 | 91.6 | 21.61 | 124.6 | 19.78 | 157.6 | 18.87 | 190.6 | 17.95 | 223.6 | 17.04 | 256.6 | 17.04 | 289.6 | 16.13 | 322.6 | 16.13 | 355.6 | 15.21 | 388.6 | 15.21 | 421.6 | 14.75 | 454.6 | 14.3 | 487.6 | 14.3 | 518.9 | 14.3 | 518.9 | 14.3 | 551.9 | 13.84 | 584.9 | 13.84 | 617.9 | 14.3 | 650.9 | 14.3 | 683.9 | 14.75 | 716.9 | 15.21 | 749.9 | 15.21 | 782.9 | 15.21 | 815.9 | 15.21 | 848.9 | 15.21 | 863.8 | 15.21 | 896.8 | 15.21 | 929.8 | 15.21 | 962.8 | 15.21 | 995.8 | 15.21 | 1017 | 15.21 | 1017 | 15.21 | 1050 | 15.21 | 1083 | 15.21 | 1102 | 15.21 | 1102 | 15.21 | 1135 | 15.21 | 1168 | 15.21 | 1195 | 15.21 | 1195 | 15.21 | 1200 |
|