Next
Update
Prev

You can draw the Sparkline chart in the cell by setting the dataFields in <DataGridSparkColumn>. This example demonstrates how to draw the Sparkline chart in the second column with the data of other columns.

...
  <DataGridColumn dataField="CodeName" ... />
  <DataGridSparkColumn dataFields="Y2004,Y2005,Y2006,Y2007,Y2008,Y2009,Y2010,Y2011,Y2012,Y2013,Y2014" ... />
  <DataGridColumn dataField="Y2004" ... />
  <DataGridColumn dataField="Y2005" ... />
  ...

<DataGridSparkColumn>

dataFields This property is to set the field names the data of which will used to draw the Spark chart in the cell.
itemRenderer This property is to set the chart type to be drawn in the cell. (SparkLine, SparkColumn, SparkWinLoss, default : SparkLine).

© 2017 KoolChart. All rights reserved.