making the pointlabels behind the highlighter in jqplot
I'm trying to make a highlighter on a simple line graph, and no matter what开发者_StackOverflow中文版 I do, the pointlabel keeps being above the tooltip and hides the content
anyone has an idea of how to make it happen?
You must modify the jqplot css file:
.jqplot-highlighter-tooltip, .jqplot-canvasOverlay-tooltip {
border: 1px solid #cccccc;
font-size: 0.75em;
white-space: nowrap;
background: rgba(208,208,208,0.5);
padding: 1px;
z-index: 3;
}
Adding a z-index greater than the .jqplot-point-label has, must solve the problem.
精彩评论