def validate_attributes_for_chart_type
      return if [Pie3DChart, LineChart].include? @chart_type
      @d_lbl_pos = nil
      @show_leader_lines = nil
    end
nills out d_lbl_pos and show_leader_lines as these attributes, while valid in the spec actually chrash excel for any chart type other than pie charts.