Trendline Binding

Created with Raphaël 2.0.1SalesSalesSalesBeveragesCondimentsConfectionsDairy ProductsGrains/CerealsMeat/PoultryProduceSeafood400005000060000700008000090000100000110000102479.4451041.879752.21116495.4353823.4777164.7545973.6864195.52

This sample demostrates how to use C1ChartBinding to draw a trendline by setting following properties:

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