class NeqaHighCharts::HighChart
Attributes
chart[RW]
colors[RW]
credits[RW]
drilldown[RW]
exporting[RW]
labels[RW]
legend[RW]
loading[RW]
noData[RW]
pane[RW]
plotOptions[RW]
scrollbar[RW]
series[RW]
subtitle[RW]
title[RW]
tooltip[RW]
xAxis[RW]
yAxis[RW]
Public Class Methods
new() { |high_chart| ... }
click to toggle source
# File lib/neqa_high_charts/high_chart.rb, line 5 def initialize self.tap do |high_chart| # high_chart.defaults_options yield high_chart if block_given? end end
Public Instance Methods
defaults_options()
click to toggle source
# File lib/neqa_high_charts/high_chart.rb, line 12 def defaults_options self.title = {text: nil} self.legend = {layout: "vertical", labels: {}} self.xAxis = {} self.yAxis = {title: {text: nil}, labels: {}} self.tooltip = {enabled: true} self.subtitle = {} end