Answer the question
In order to leave comments, you need to log in
How to set vieBox for svg in amcharts?
Good afternoon, I ran into a problem for adding viewBox attributes to a map created based on amcharts v4
var chart = am4core.create("chartdiv", am4maps.MapChart); // to create and use the container in which the svg
chart.SVGAttribute.viewBox is located = ('0 0 900 1000'); // set the required viewBox
log: Cannot set properties of undefined (setting 'viewBox')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question