Dears,
I am having the below json object:
[{“product_id”:”23401224563737″,”success_rate”:”90.9836″},
{“product_id”:”23401220000011356″,”success_rate”:”90.2222″},
{“product_id”:”23401223434″,”success_rate”:”81.2818″}]
I am trying to display the data in a chart:
var source =
{
datatype: “json”,
datafields: [
{ name: ‘product_id’,type: ‘string’},
{ name: ‘success_rate’,type: ‘number’}
],
cache: false,
id: ‘product_id’,
url: php_link
};
While plotting the data jqwidgets is trying automatically to take product ID as a date and not as string.
How can I force jqxChart to consider it as a string and dont try to convert it to date?
Thanks.
Cheers,
Pierre