[Test] Palettes - Column, Default
Default colors, when no palette.Check Column Palette chart type.
HTML
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js" type="text/javascript"></script>
<script src="http://cdn.syncfusion.com/15.1.0.37/js/common/ej.core.js" type="text/javascript"></script>
<script src="http://cdn.syncfusion.com/15.1.0.37/js/common/ej.data.js" type="text/javascript"></script>
<script src="http://cdn.syncfusion.com/15.1.0.37/js/common/ej.globalize.js" type="text/javascript"></script>
<script src="http://cdn.syncfusion.com/15.1.0.37/js/datavisualization/ej.chart.js" type="text/javascript"></script>
<div id="chart_div"></div>
JavaScript
$(function () {
$("#chart_div").ejChart( {
size: { width: "400", height: "250" },
legend: { visible: false },
primaryXAxis: {
range: { min: 0, max: 2, interval: 1 }
},
primaryYAxis: {
range: { min: 0, max: 7, interval: 1 }
},
commonSeriesOptions: {
type: "column",columnWidth: 2,
marker: { dataLabel: { visible: true } },
},
series: [
{ points: [{ x: 1, y: 1 }] },
{ points: [{ x: 1, y: 2 }] },
{ points: [{ x: 1, y: 3 }] },
{ points: [{ x: 1, y: 4 }] },
{ points: [{ x: 1, y: 5 }] },
],
});
});