Getting Started

Performance !!!

Chart Data

Bar and Column Charts

Line and Area Charts

Pie and Funnel Charts

Scatter and Bubble Charts

Radar and Polar Charts

Financial Charts

Gantt Charts

Combinational Charts

Dynamic Charts

Working with Chart Axes

Chart Features

Customizing Chart

Client-Side Events

The area chart can be plotted on a linear, date time or category x-axis (x-values are numeric, dates or categories (strings)).

In this example the area chart in plotted on a date time axis.

For detailed implementation, please take a look at the HTML code tab.
<!DOCTYPE html>
    Area Chart on a DateTime Axis Example - JavaScript Chart by DataViz Charts
	<link rel="stylesheet" type="text/css" href="../../css/dataviz.chart.css" />
	<link rel="stylesheet" type="text/css" href="../../themes/le-frog/styles.css" />
	<script src="../../js/dataviz.chart.min.js" type="text/javascript"></script>
    <script lang="javascript" type="text/javascript">
            var chart = new DataViz.Chart({
                title: { text: 'Area Chart' },
                animation: { duration: 1 },
                series: [
                        type: 'area',
                        title: 'Area',
                        fillStyle: '#418CF0',
                        data: [[new Date(2010, 0, 1), 56], [new Date(2010, 1, 1), -20],
                               [new Date(2010, 2, 1), -32], [new Date(2010, 3, 1), 50],
                               [new Date(2010, 4, 1), 40], [new Date(2010, 5, 1), 36],
                               [new Date(2010, 6, 1), 70]]

        <div id="container" style="width: 500px; height: 300px;"></div>