diff --git a/Dockerfile b/Dockerfile index 566b6fc4..4f9e2b61 100755 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,9 @@ WORKDIR /app RUN apt-get update && apt-get -y install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev -# Copy package.json into work directory and install dependencies -# We do not copy package-lock.json here as we do want the specific binary stuff (canvas) for the specific plattform of the docker container +# Copy package.json and package-lock.json into work directory and install dependencies COPY package.json /app/package.json +COPY package-lock.json /app/package-lock.json RUN npm install --production # Copy everthing else in work directory diff --git a/chartTypes/commonPostprocessings.js b/chartTypes/commonPostprocessings.js index 340432c4..df0aead2 100644 --- a/chartTypes/commonPostprocessings.js +++ b/chartTypes/commonPostprocessings.js @@ -170,11 +170,6 @@ const highlightZeroGridLineIfPositiveAndNegative = { .querySelector(".role-axis-grid") .querySelectorAll("line"); - const yAxisTicklines = axisElements - .item(axisIndex) - .querySelector(".role-axis-tick") - .querySelectorAll("line"); - yAxisGridlines.item(zeroTickIndex).setAttribute( "style", yAxisGridlines @@ -185,17 +180,6 @@ const highlightZeroGridLineIfPositiveAndNegative = { `stroke: ${toolRuntimeConfig.axis.labelColor}` ) ); - - yAxisTicklines.item(zeroTickIndex).setAttribute( - "style", - yAxisGridlines - .item(zeroTickIndex) - .getAttribute("style") - .replace( - `stroke: ${toolRuntimeConfig.axis.tickColor}`, - `stroke: ${toolRuntimeConfig.axis.labelColor}` - ) - ); } return document.body.innerHTML; diff --git a/package-lock.json b/package-lock.json index 3eea60d9..eb6791e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "q-chart", - "version": "3.2.1", + "version": "3.2.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d9fd822e..19d982b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "q-chart", - "version": "3.2.1", + "version": "3.2.2", "description": "", "main": "index.js", "scripts": {