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

Title not set in LineChart. #643

Open
abime opened this issue Sep 23, 2019 · 0 comments
Open

Title not set in LineChart. #643

abime opened this issue Sep 23, 2019 · 0 comments

Comments

@abime
Copy link

abime commented Sep 23, 2019

I am unable to set the Title field in LineChart.
'row number' is picked by default.

package.workbook.add_worksheet(name: sheet_name) do | sheet |
  sheet.add_chart(Axlsx::LineChart) do |chart|
      chart.start_at "M34"
      chart.end_at "X46"
      chart.title = " Engagement(%) per week "
      chart.d_lbls.show_val = true
      chart.add_series :data => package.workbook.worksheets.first["A10:G10"],
        :labels => package.workbook.worksheets.first["A10:G10"],
>       :title =>package.workbook.worksheets.first["B10"],
        :color => "e69138"
    end
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