Hi,
You need to use “x” value instead of “label”(or both) for your case.
Even if you use x parameter you will be able to format it like 10:00, 11:00, etc as shown here.
In case this doesn’t solve the problem can you please reproduce the issue by forking our template jsfiddle. That way I’ll be able to fix the issue right away if possible.
—
Sunil
Hi Staffan,
Though this feature is not available as of now, am considering to implement the same. Doing some research on it now. Will let you know in a day.
—
Sunil
Staffan,
Do you need week number relative to the month or year?
—
Sunil
You are welcome… :)
As of now Images are not supported inside labels.
Hi,
I can surely help you with that. But without seeing the HTML part of it its difficult to figure out the issue. Can you please create a jsfiddle that reproduces the issue?
—
Sunil
As of now it is not possible to render images inside chart. But you can display images inside the toolTip
—
Sunil
Staffan,
TimeStamp should be assigned to x and not to label. Labels are considered as string literals. I’ve fixed the same. Let me know if its working as expected.
—
Sunil
You can achieve this using jQuery’s show/hide methods. Just place the code inside the event handler.
Carl,
This feature is being implemented in the next version. You can expect it in 2-3 weeks.
—
Sunil
Can you please explain what you meant by “can I call a div of same html as a link”.
In any case once the click event handler is called you should be able to execute any code as per your requirement.
Ankita,
You can open html links for respective dataPoint on click using click event handler. Please check out below code snippet for the same.
chart.options.data[0].click = function(e){
var dataSeries = e.dataSeries;
var dataPoint = e.dataPoint;
var dataPointIndex = e.dataPointIndex;
if(!dataPoint.exploded)
window.open(dataPoint.link,'_blank');
for(var i = 0; i < dataSeries.dataPoints.length; i++){
if(i === dataPointIndex){
continue;
}
dataSeries.dataPoints[i].exploded = false;
}
};
Also, refer this JSFiddle for complete code.

—
Sunil Urs
Team CanvasJS
Azmeuk,
You can access user defined values like dataPoints, dataSeries, etc as defined in the section “Alternate way of setting / updating data” in the getting started page. But its not possible for built-in values like colorSet.
—
Sunil
Vince,
Chart itself doesn’t provide filtering options but you can implement the same using JavaScript and update the chart’s data based on the user’s selection.
—
Sunil