@axdspub/axiom-charts 0.0.46 → 0.0.48
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.
- package/library/Libraries/axiom/index.js +3 -1
- package/library/Libraries/axiom/index.js.map +1 -1
- package/library/browser.js +3 -3
- package/library/browser.js.map +1 -1
- package/library/cjs.js +2 -1
- package/library/cjs.js.map +1 -1
- package/library/index.js +2 -1
- package/library/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1138,7 +1138,9 @@ class AxiomChart extends ChartRoot {
|
|
|
1138
1138
|
this.updateD3AxisSettings(d3Axis, axisSettings);
|
|
1139
1139
|
const axisSpace = axis.scale.range[1] - axis.scale.range[0];
|
|
1140
1140
|
const minAxisSpace = Math.min(axisSpace / 2, axisSettings.tickSpace !== undefined ? axisSettings.tickSpace : 50);
|
|
1141
|
-
|
|
1141
|
+
if (axisSettings.ticks === undefined) {
|
|
1142
|
+
d3Axis.ticks(Math.floor(axisSpace / minAxisSpace));
|
|
1143
|
+
}
|
|
1142
1144
|
const offset = this.getXAxisOffset(axis);
|
|
1143
1145
|
const axisG = (g) => {
|
|
1144
1146
|
const o = g
|