joola / joola.sdk

Joola's Software Development Kit (SDK)
https://joo.la
Other
3 stars 3 forks source link

Timeline ignores element height #107

Closed orweinberger closed 10 years ago

orweinberger commented 10 years ago

Running this:

$('#usageChart').Timeline(options,function(err,result){

})

With these css rules

#usageChart {
    width:100%;
    height:150px;
}

Produces a Timeline with a height of 400px. When I inspect element I can see the svg object and the parent div that was created by highcharts taking the wrong height:

<div class="highcharts-container" id="highcharts-0" style="position: relative; overflow: hidden; width: 975px; height: 400px; text-align: left; line-height: normal; z-index: 0; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">