Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Commit

Permalink
Added color Symbols and hex-symbol color implementation for all the g…
Browse files Browse the repository at this point in the history
…raphs
  • Loading branch information
pgtgrly committed Jul 21, 2018
1 parent 412dd40 commit 56240da
Show file tree
Hide file tree
Showing 9 changed files with 981 additions and 39 deletions.
2 changes: 1 addition & 1 deletion examples/RubyPlot/Candlestick.rb
Expand Up @@ -4,5 +4,5 @@
low = [5, 13, 15, 3]
close_ = [15, 24, 18, 4]
a = Rubyplot::Figure.new
a.candlestick! open_, high, low, close_, bar_width: 0.5, bar_gap: 0.25
a.candlestick! open_, high, low, close_, bar_width: 1, bar_gap: 0.05
a.view
2 changes: 1 addition & 1 deletion examples/RubyPlot/StackedBarPlotTest.rb
Expand Up @@ -10,7 +10,7 @@
[4, 34, 8, 25],
[20, 9, 31, 2],
[56, 12, 84, 30]]
colors = ["000000","00ffff","ff00ff","ff0000"]
colors = ["#000000","#00ffff","#ff00ff","#ff0000"]
g.stacked_bar! values, colors, bar_gap: 1
g.line! @x1, @y1, line_width: 2,
line_color: :red, line_type: :long_short_dash,
Expand Down

0 comments on commit 56240da

Please sign in to comment.