问题
I'm using amcharts & i want chart container width & height dynamic depending on no columns on x-axis & highest value in y-axis in amcharts. Here is my fiddle
I use css as follows
.graphsdata {
width: 100%;
height: 800px;
overflow: hidden;
}
.graph-div {
min-width: 800px;
min-height: 600px;
overflow: hidden;
}
.graphs-div {
width: 2200px;
min-height: 600px;
overflow: hidden;
}
check this
来源:https://stackoverflow.com/questions/52589764/charts-container-width-height-dynamic-in-amcharts