@opendata-ai/openchart-engine 7.1.0 → 7.1.2

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/dist/index.js CHANGED
@@ -10323,7 +10323,7 @@ function chromeToInput(chrome) {
10323
10323
  };
10324
10324
  }
10325
10325
  function bottomMargin(bottomHeight, padding, xAxisHeight) {
10326
- return (bottomHeight > 0 ? bottomHeight : padding) + xAxisHeight;
10326
+ return padding + bottomHeight + xAxisHeight;
10327
10327
  }
10328
10328
  function scalePadding(basePadding, width, height) {
10329
10329
  const minDim = Math.min(width, height);