axlsx icon indicating copy to clipboard operation
axlsx copied to clipboard

Title not set in LineChart.

Open abime opened this issue 5 years ago • 0 comments

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

abime avatar Sep 23 '19 06:09 abime