Trendline

Created with Raphaël 2.0.1Height Versus Weight of 72 Individuals by GenderFemaleFemmale TrendlineMaleMale Trendline145150155160165170175180185190195Height (cm)4550556065707580859095100105Weight (kg)63.458.258.645.752.248.657.855.666.859.453.673.253.46958.473.661.455.563.660.96046.857.364.163.667.375.568.261.476.871.855.548.666.467.370.273.470.568.9102.368.465.975.784.587.786.473.253.97255.570.964.577.372.387.38082.373.674.185.973.276.365.990.989.162.382.779.198.284.183.283.2

This sample demostrates how to draw trendlines on C1ScatterChart.

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.