A line chart or line graph is a type of chart which displays information as a series of data points connected by straight line segments. The <Line2DChart> element tag is used to create a line chart in KoolChart, and the series element tag for the line chart is <Line2DSeries>.

<Line2DSeries yField="Price" displayName="$ Per Barrel">


yField The yField attribute determines which field in the Data Object will be used as the Y-axis ( vertical axis ) values. In the above chart, the "Price" field is used.
displayName The displayName attribute is used to set what text will be displayed in tooltips. ( this text will be also displayed in the chart legend. )

© 2017 KoolChart. All rights reserved.