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

This sample demonstrates the chart error bars with custom error values.

For detailed implementation, please take a look at the HTML code tab.
<!DOCTYPE html>
	Error Bars Custom Values 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: 'Error Bars Custom Values' },
			animation: { duration: 1 },
			shadows: {
				enabled: true
			series: [
					type: 'column',
					title: 'Series 1',
					fillStyle: '#418CF0',
					data: [['A', 33], ['B', 57], ['C', 33], ['D', 12]],

					errorBars: {
						calculationType: 'customValues', // 'standardError', 'standardDeviation', 'percentage', 'fixedValue' or 'customValues'
						displayType: 'both', // 'both', 'upper' or 'lower'
						strokeStyle: 'black',
						lineWidth: 2,
						capLength: 10,
						customValues: [[2, 9], [12, 3], [8, 13], [5, 10]]

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