You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using vue-apexcharts wrapper (both 1.6.x and 1.7.0 versions) and apexcharts 4.4.0 / 4.5.0 (also tried both versions). I was able to do extensive customizations to chart visuals, but I'm stuck for days trying to show the default tooltip when the chart contents are hovered without enablind the grid option.
Here's the desired result, except for the horizontal lines in chart's content:
So I believed that setting chart option tooltip.enabled to true was enough for rendering that beautiful tooltip in the chart, close to the place I'm hovering, but in my charts it is not. There's probably other settings preventing my chart from working as desired. What I found out is that I need to set grid.show to true for tooltip to appear. If I try to set grid.yaxis.lines.show to false, to try to trick the settings to show my tooltip and not to render the grid horizontal lines, the tooltip does not show up. If I disable the yaxis lines but enable grid.xaxis.lines.show my tooltip also works, but then I have to deal with undesired vertical lines, same problem as before.
Here are the objects that I feed to my vue-apexcharts wrapper, except that I anonymized my data:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using vue-apexcharts wrapper (both 1.6.x and 1.7.0 versions) and apexcharts 4.4.0 / 4.5.0 (also tried both versions). I was able to do extensive customizations to chart visuals, but I'm stuck for days trying to show the default tooltip when the chart contents are hovered without enablind the grid option.

Here's the desired result, except for the horizontal lines in chart's content:
So I believed that setting chart option
tooltip.enabled
to true was enough for rendering that beautiful tooltip in the chart, close to the place I'm hovering, but in my charts it is not. There's probably other settings preventing my chart from working as desired. What I found out is that I need to setgrid.show
to true for tooltip to appear. If I try to setgrid.yaxis.lines.show
to false, to try to trick the settings to show my tooltip and not to render the grid horizontal lines, the tooltip does not show up. If I disable the yaxis lines but enablegrid.xaxis.lines.show
my tooltip also works, but then I have to deal with undesired vertical lines, same problem as before.Here are the objects that I feed to my vue-apexcharts wrapper, except that I anonymized my data:
Beta Was this translation helpful? Give feedback.
All reactions