@opendata-ai/openchart-vanilla 2.13.0 → 2.13.1
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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
- package/src/svg-renderer.ts +4 -0
package/dist/index.js
CHANGED
|
@@ -3999,6 +3999,7 @@ function renderChartSVG(layout, container) {
|
|
|
3999
3999
|
viewBox: `0 0 ${width} ${height}`,
|
|
4000
4000
|
xmlns: SVG_NS
|
|
4001
4001
|
});
|
|
4002
|
+
svg.style.height = `${height}px`;
|
|
4002
4003
|
svg.setAttribute("role", layout.a11y.role);
|
|
4003
4004
|
svg.setAttribute("aria-label", layout.a11y.altText);
|
|
4004
4005
|
svg.setAttribute("class", "viz-chart");
|