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

With DataViz Chart you can format the axis labels and the data point labels.

This sample demonstrates how to format the pie chart labels.

For detailed implementation, please take a look at the HTML code tab.
<!DOCTYPE html>
	Labels Formatting 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: 'Labels Formatting' },
			legend: { title: { text: 'Countries' } },
			animation: { duration: 1 },
			series: [
					type: 'pie',
					labels: {
						stringFormat: '%d%%',
						valueType: 'percentage',
						font: '15px sans-serif',
						fillStyle: 'white'
					data: [['United States', 65], ['United Kingdom', 58],
						   ['Germany', 30], ['India', 60], ['Russia', 65], ['China', 75]]

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