Problem with adding the scrolbar for heatmap
ilisun opened this issue · comments
HI,
i have to add a scrollbar does not work for the heatmap.
controller code is:
LazyHighCharts::HighChart.new('heatmap') do |f|
f.xAxis(categories: x_data, scrollbar: { enabled: true })
f.yAxis(categories: times, title: false, scrollbar: { enabled: true })
f.colorAxis(minColor: '#FFFFFF', maxColor: '#004cab', min: 0, max: 100)
f.legend(enabled: false)
f.chart(type: 'heatmap', marginTop: 40, width: 1000, marginBottom: 60, plotBorderWidth: 1)
f.series(borderWidth: 1, data: data, dataLabels: { enabled: true, color: '#000000' })
end
here stackoverflow also described this problem, without solutions.
What i am doing wrong or this option is not available for this gem?