Html Chart
Set the categoryAxis property of the jqxChart.
Author: http://jqwidgets.com
HTML
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<div id='jqxChart' style="width:530px; height:400px; position: relative; left: 0px; top: 0px;"></div>
JavaScript
var sampleData = [{
a: 1.45678
}, {
a: 1.45679
}, {
a: 1.45678
}];
var settings = {
title: "Logarithmic Scale Axis Example",
description: "Sample logarithmic scale axis with base 2",
source: sampleData,
seriesGroups: [{
type: 'spline',
valueAxis: {
description: 'Value',
formatSettings: {
decimalPlaces: 5
},
horizontalTextAlignment: 'right'
},
series: [{
dataField: 'a',
displayText: 'A'
}]
}]
};
$('#jqxChart').jqxChart(settings);