(Showing Draft Content)

wjFlexChartTrendLine Class

wjFlexChartTrendLine Class

KnockoutJS binding for the TrendLine object.

Use the wjFlexChartTrendLine binding to add TrendLine object to your KnockoutJS applications. For example:

<p>Here is a TrendLine:</p>
<div data-bind="wjFlexChart: { itemsSource: data, bindingX: 'country',chartType:'Column' }">
    <div data-bind="wjFlexChartAxis: { wjProperty: 'axisX', title: 'country' }"></div>
    <div data-bind="wjFlexChartSeries: { name: 'Sales', binding: 'sales' }"></div>
    <div data-bind="wjFlexChartAnimation: { animationMode: 'Series',easing:'Swing',duration:2000 }  "></div>

The wjFlexChartTrendLine binding supports all read-write properties and events of the TrendLine class.


  • WjTrendLineBase
    • wjFlexChartTrendLine