Charts container width & height dynamic in amcharts

微笑、不失礼 提交于 2019-12-12 18:24:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!