Trendline

Created with Raphaël 2.0.1Sales By StateOhioFloridaArizonaUtahColoradoHawaiiTexasMarylandNorth CarolinaMarylandOregonWashingtonNew YorkCaliforniaPennsylvannia05001,0001,5002,0002,5003,0003,5004,0004,5005,0005,5006,0006,5007,0007,5008,000USD (thousands)

This sample demostrates how to draw a trendline on C1BarChart.

You can customize the trendline by setting following properties:

  • FitType - sepcifies the type of the trendline.
  • SampleCount - specifies the sample count for function calculation. It works only if the FitType is polynom, power, exponent, logarithmic and fourier.
  • Order - defines the number of terms in polynom equation. It works only if the FitType is polynom, power, exponent, logarithmic and fourier.