apexcharts
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "apexcharts", | ||
"description": "A JavaScript Chart Library", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"main": "dist/apexcharts.min.js", | ||
@@ -6,0 +6,0 @@ "directories": { |
@@ -148,3 +148,3 @@ /** | ||
drawYaxisTooltipText (index, clientY, seriesBound, xyRatios) { | ||
drawYaxisTooltipText (index, clientY, xyRatios) { | ||
const ttCtx = this.ttCtx | ||
@@ -156,2 +156,5 @@ const w = this.w | ||
if (ttCtx.blyaxisTooltip) { | ||
const elGrid = ttCtx.getElGrid() | ||
const seriesBound = elGrid.getBoundingClientRect() | ||
const hoverY = (clientY - seriesBound.top) * xyRatios.yRatio[index] | ||
@@ -158,0 +161,0 @@ const height = w.globals.maxYArr[index] - w.globals.minYArr[index] |
@@ -131,4 +131,4 @@ import Graphics from '../Graphics' | ||
const ycrosshairsHiddenRect = parseInt(ttCtx.ycrosshairsHidden.getAttribute('y1')) | ||
let cy = w.globals.translateY + ycrosshairsHiddenRect | ||
const ycrosshairsHiddenRectY1 = parseInt(ttCtx.ycrosshairsHidden.getAttribute('y1')) | ||
let cy = w.globals.translateY + ycrosshairsHiddenRectY1 | ||
@@ -135,0 +135,0 @@ const yAxisTTRect = ttCtx.yaxisTTEls[index].getBoundingClientRect() |
@@ -541,3 +541,3 @@ import Labels from './Labels' | ||
for (let yt = 0; yt < w.config.yaxis.length; yt++) { | ||
self.axesTooltip.drawYaxisTooltipText(yt, clientY, self.seriesBound, self.xyRatios) | ||
self.axesTooltip.drawYaxisTooltipText(yt, clientY, self.xyRatios) | ||
} | ||
@@ -624,2 +624,3 @@ } | ||
const w = this.w | ||
const xcrosshairs = this.getElXCrosshairs() | ||
@@ -626,0 +627,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2314135
40990