Class: Rust::Plots::GGPlot::ThemeAxisBuilder
Instance Method Summary
collapse
#[], #alignment_el, #build, #line_el, #numeric_el, #option, #rect_el, #text_el, #unit_el
Constructor Details
Returns a new instance of ThemeAxisBuilder.
271
272
273
|
# File 'lib/rust/external/ggplot2/themes.rb', line 271
def initialize
super("axis")
end
|
Instance Method Details
#line(value) ⇒ Object
275
276
277
|
# File 'lib/rust/external/ggplot2/themes.rb', line 275
def line(value)
self.option('line', line_el(value))
end
|
#text(value) ⇒ Object
279
280
281
|
# File 'lib/rust/external/ggplot2/themes.rb', line 279
def text(value)
self.option('text', text_el(value))
end
|
#text_x(value) ⇒ Object
283
284
285
|
# File 'lib/rust/external/ggplot2/themes.rb', line 283
def text_x(value)
self.option('text.x', text_el(value))
end
|
#text_y(value) ⇒ Object
287
288
289
|
# File 'lib/rust/external/ggplot2/themes.rb', line 287
def text_y(value)
self.option('text.y', text_el(value))
end
|
#ticks(value) ⇒ Object
303
304
305
|
# File 'lib/rust/external/ggplot2/themes.rb', line 303
def ticks(value)
self.option('ticks', line_el(value))
end
|
#ticks_length(value) ⇒ Object
307
308
309
|
# File 'lib/rust/external/ggplot2/themes.rb', line 307
def ticks_length(value)
self.option('ticks.length', unit_el(value))
end
|
#title(value) ⇒ Object
291
292
293
|
# File 'lib/rust/external/ggplot2/themes.rb', line 291
def title(value)
self.option('title', text_el(value))
end
|
#title_x(value) ⇒ Object
295
296
297
|
# File 'lib/rust/external/ggplot2/themes.rb', line 295
def title_x(value)
self.option('title.x', text_el(value))
end
|
#title_y(value) ⇒ Object
299
300
301
|
# File 'lib/rust/external/ggplot2/themes.rb', line 299
def title_y(value)
self.option('title.y', text_el(value))
end
|