def write_sp_pr(series) # :nodoc:
      line     = series.line
      fill     = series.fill
      gradient = series.gradient if series.respond_to?(:gradient)

      return if (!line || !ptrue?(line[:_defined])) &&
        (!fill || !ptrue?(fill[:_defined])) && !gradient

      @writer.tag_elements('c:spPr') do
        # Write the fill elements for solid charts such as pie/doughnut and bar.
        if fill && fill[:_defined] != 0
          if ptrue?(fill[:none])
            # Write the a:noFill element.
            write_a_no_fill
          else
            # Write the a:solidFill element.
            write_a_solid_fill(fill)
          end
        end
        if ptrue?(gradient)
          # Write the a:gradFill element.
          write_a_grad_fill(gradient)
        end
        # Write the a:ln element.
        write_a_ln(line) if line && ptrue?(line[:_defined])
      end
    end
def write_sp_pr(series) # :nodoc:
      line     = series.line
      fill     = series.fill
      gradient = series.gradient if series.respond_to?(:gradient)

      return if (!line || !ptrue?(line[:_defined])) &&
        (!fill || !ptrue?(fill[:_defined])) && !gradient

      @writer.tag_elements('c:spPr') do
        # Write the fill elements for solid charts such as pie/doughnut and bar.
        if fill && fill[:_defined] != 0
          if ptrue?(fill[:none])
            # Write the a:noFill element.
            write_a_no_fill
          else
            # Write the a:solidFill element.
            write_a_solid_fill(fill)
          end
        end
        if ptrue?(gradient)
          # Write the a:gradFill element.
          write_a_grad_fill(gradient)
        end
        # Write the a:ln element.
        write_a_ln(line) if line && ptrue?(line[:_defined])
      end
    end
Write the <c:spPr> element.