You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a chart of which the series is an empty array. Highcharts supports this through an external file (no idea why) and some settings:
@chart = LazyHighCharts::HighChart.new('graph') do |f|
f.options[:lang] = { noData: I18n.t('helpers.chart.no_data') }
f.title(text: nil)
f.series([])
end
Quote:
Options for displaying a message like "No data to display". This feature requires the file no-data-to-display.js to be loaded in the page. The actual text to display is set in the lang.noData option.
We looked through the source of the gem, but we couldn't find anything that looked like it was the no-data-to-display.js file. Maybe we overlooked something?
The feature works when we manually include the file from the high charts jsfiddle.
The text was updated successfully, but these errors were encountered:
Hi,
We have a chart of which the series is an empty array. Highcharts supports this through an external file (no idea why) and some settings:
Quote:
As described here: http://api.highcharts.com/highcharts/noData
And demonstrated here: http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/no-data-to-display/no-data-line/
We looked through the source of the gem, but we couldn't find anything that looked like it was the
no-data-to-display.js
file. Maybe we overlooked something?The feature works when we manually include the file from the high charts jsfiddle.
The text was updated successfully, but these errors were encountered: