Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

legend_options do not appear to work #64

Open
sskates1 opened this issue Feb 16, 2016 · 0 comments
Open

legend_options do not appear to work #64

sskates1 opened this issue Feb 16, 2016 · 0 comments

Comments

@sskates1
Copy link

array_of_values = [5..10]
plot1 = Nyaplot::Plot.new
b_plots = {}
array_of_values.each_with_index do |values, index|
  b = [0..5].map{|i| i*value}
  b_plots[values] = plot1.add(:line, truncate, b)
  b_plots[values].title("V = #{values}")
end

plot1.x_label("Test #")
plot1.y_label("number of occurrences")
plot1.legend(true)
plot1.bg_color("#FFF")
plot1.legend_options({title: 'test title', font_size: 34.0 })
plot1.export_html('info.html')

legend_options appears to be set correctly but it does not change what is displayed. No title or change in font size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant