5.20231.904
wijmo.knockout.chart.analytics Class wjFlexChartTrendLine Wijmo API 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>
</div>

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

Heirarchy

  • WjTrendLineBase
    • wjFlexChartTrendLine