dojo chart2d columns plot prevent trailing zeroes after values
问题 i have a dojo columns chart. Data is pulled from a rest service. Y values come as doubles, and X values come as integers. The problem is that dojo displays both values as doubles and i need both values to be displayed as integers. For example, if the X value is "1", dojo shows "1.0". function loadHist(objectId) { $.ajax({ url: "/aquur/rest/getData/" + objectId, }).done(function(data) { /* sample data: data[0] = [0, 0, 1, 0, 0, 1, 4, 3, 1, 0, 0, 0] data[1] = [Object { value=1, text="1.0"},