Hi All,
Does anyone know why tooltip is not working in filling (shadow) area?
Tooltip nr. 3, 7, 8, 9, 16 and 17 are not working?
See file attached !
Thanks for your support,......Jos
data = {{1, 96}, {2, 88}, {3, 73}, {4, 68}, {5, 65}, {6, 64}, {7,
63}, {8, 62}, {9, 60}, {10, 56}, {11, 55}, {12, 55}, {13,
55}, {14, 58}, {15, 65}, {16, 71}, {17, 72}, {18, 70}, {19,
66}, {20, 76}};
p1 = ListPlot[Tooltip[data]
, PlotStyle -> Blue
, PlotLabel -> "Title"
, PlotRange -> {Automatic, {50, 100}}
, FrameLabel -> {"X-axis", "Y-axis"}
, Frame -> True
, Filling -> Bottom
, ImageSize -> Medium
];
fitLine = Fit[data, {1, x}, x]
fitQuadratic = Fit[data, {1, x, x^2}, x]
p2 = Plot[fitQuadratic, {x, 0, 20},
Epilog -> Point[data]];
p3 = Show[
p1
, Plot[{fitLine, fitQuadratic}, {x, 0, 20}
, Filling -> True]
, ImageSize -> Medium
]
p3 = Show[
p1
, Plot[{fitLine, fitQuadratic}, {x, 0, 20}
, Filling -> True]
, ImageSize -> Medium
]
Attachments: