hyperprop-charting-library 0.1.117 → 0.1.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1146,7 +1146,7 @@ function createChart(element, options = {}) {
|
|
|
1146
1146
|
canvas.setAttribute("draggable", "false");
|
|
1147
1147
|
element.innerHTML = "";
|
|
1148
1148
|
element.appendChild(canvas);
|
|
1149
|
-
const margin = { top: 16, right: 72, bottom:
|
|
1149
|
+
const margin = { top: 16, right: 72, bottom: 26, left: 12 };
|
|
1150
1150
|
let cachedRightMargin = margin.right;
|
|
1151
1151
|
const minVisibleBars = Math.max(1, Math.floor(mergedOptions.minVisibleBars));
|
|
1152
1152
|
const maxVisibleBars = Math.max(minVisibleBars, Math.floor(mergedOptions.maxVisibleBars));
|
|
@@ -1120,7 +1120,7 @@ function createChart(element, options = {}) {
|
|
|
1120
1120
|
canvas.setAttribute("draggable", "false");
|
|
1121
1121
|
element.innerHTML = "";
|
|
1122
1122
|
element.appendChild(canvas);
|
|
1123
|
-
const margin = { top: 16, right: 72, bottom:
|
|
1123
|
+
const margin = { top: 16, right: 72, bottom: 26, left: 12 };
|
|
1124
1124
|
let cachedRightMargin = margin.right;
|
|
1125
1125
|
const minVisibleBars = Math.max(1, Math.floor(mergedOptions.minVisibleBars));
|
|
1126
1126
|
const maxVisibleBars = Math.max(minVisibleBars, Math.floor(mergedOptions.maxVisibleBars));
|
package/dist/index.cjs
CHANGED
|
@@ -1146,7 +1146,7 @@ function createChart(element, options = {}) {
|
|
|
1146
1146
|
canvas.setAttribute("draggable", "false");
|
|
1147
1147
|
element.innerHTML = "";
|
|
1148
1148
|
element.appendChild(canvas);
|
|
1149
|
-
const margin = { top: 16, right: 72, bottom:
|
|
1149
|
+
const margin = { top: 16, right: 72, bottom: 26, left: 12 };
|
|
1150
1150
|
let cachedRightMargin = margin.right;
|
|
1151
1151
|
const minVisibleBars = Math.max(1, Math.floor(mergedOptions.minVisibleBars));
|
|
1152
1152
|
const maxVisibleBars = Math.max(minVisibleBars, Math.floor(mergedOptions.maxVisibleBars));
|
package/dist/index.js
CHANGED
|
@@ -1120,7 +1120,7 @@ function createChart(element, options = {}) {
|
|
|
1120
1120
|
canvas.setAttribute("draggable", "false");
|
|
1121
1121
|
element.innerHTML = "";
|
|
1122
1122
|
element.appendChild(canvas);
|
|
1123
|
-
const margin = { top: 16, right: 72, bottom:
|
|
1123
|
+
const margin = { top: 16, right: 72, bottom: 26, left: 12 };
|
|
1124
1124
|
let cachedRightMargin = margin.right;
|
|
1125
1125
|
const minVisibleBars = Math.max(1, Math.floor(mergedOptions.minVisibleBars));
|
|
1126
1126
|
const maxVisibleBars = Math.max(minVisibleBars, Math.floor(mergedOptions.maxVisibleBars));
|