I am having two issues with tooltips and any guidance would be greatly appreciated. My data consists of 8 series with "Date" being my x coordinates. The first two items I want to render as a bar and the other 5 items as a line. I am experiencing this same behaviour in both google chrome and firefox and have not tested any other browsers. I am using jchartfx 7.4.5596
1) The first issue is tooltips not containing all data for a given date when I have two series setup as a bar graph
a. When I render all items as lines the tooltip for each point contains all data values for that date.
b. When I render the first two items as bars then each tooltip only contains the data value for the specific point I hover over.
2) The second issue is where the tooltip renders on the screen. I have two y axis, Y and Y2, one which is whole numbers and the other which is percentages. When I specify the right axis to be whole numbers and the left axis to be a decimal percentage the the tooltips for the lines using the right y axis(whole numbers) do not render over the point but instead render way outside of the graph. When I switch the axis all the tooltips render within the table area but some tooltips popup over the lowest point instead of the actual point I'm on.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
ottodude125
Hello
I am having two issues with tooltips and any guidance would be greatly appreciated. My data consists of 8 series with "Date" being my x coordinates. The first two items I want to render as a bar and the other 5 items as a line. I am experiencing this same behaviour in both google chrome and firefox and have not tested any other browsers. I am using jchartfx 7.4.5596
1) The first issue is tooltips not containing all data for a given date when I have two series setup as a bar graph
a. When I render all items as lines the tooltip for each point contains all data values for that date.
b. When I render the first two items as bars then each tooltip only contains the data value for the specific point I hover over.
2) The second issue is where the tooltip renders on the screen. I have two y axis, Y and Y2, one which is whole numbers and the other which is percentages. When I specify the right axis to be whole numbers and the left axis to be a decimal percentage the the tooltips for the lines using the right y axis(whole numbers) do not render over the point but instead render way outside of the graph. When I switch the axis all the tooltips render within the table area but some tooltips popup over the lowest point instead of the actual point I'm on.
My Data Sample
My jQuery Code
My HTML Code
My CSS Code
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.