I'm drawing bar charts using jqplot
. If the maximum value of x-axis is not too big everything seems to be fine, like this:
but if it's large I'm getting this:
x-axis seems to be wider than the div I'm using to draw chart in.
This div has the following style:
.barChart {
min-width: 735px;
margin-left: 15px;
height: 200px;
color: #333;
background: white;
overflow: auto;
border-top: 2px solid #369;
border-bottom: 2px solid #369;
line-height: 14px;
font-size: 12px;
}
So, how can I make x-axis be not wider than the div with a chart?