Hello everyone,
I would like to know how to build a chart like the image, I have tried as I do not find the way, thanks ... :slight_smile:
Hello everyone,
I would like to know how to build a chart like the image, I have tried as I do not find the way, thanks ... :slight_smile:
You can create bar chart with required number of series:
dhtmlx.com/docs/products/dhtmlxC … eries.html
Text can be rotated by transform property that can be applied to x-axis labels (transform property is not supported in IE8):
.dhx_axis_item_x {
margin-left: -50px;
margin-top: 40px;
text-align: right;
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
width: 100px;
}
Also you will probably need to increase bottom padding for the chart:
var myChart = new dhtmlXChart({
padding:{
bottom: 100
},
...
}):