Click here to Skip to main content
15,896,726 members

Comments by Garcia AlfredoS (Top 2 by date)

Garcia AlfredoS 4-Feb-13 14:10pm View    
I have to agree all formatted in json output, but with the example I gave above and must form the json of morris.js, ..... I can you clarify this?
Garcia AlfredoS 4-Feb-13 13:57pm View    
agree, however I should spend the format is as follows:



/*
* Play with this code and it'll update in the panel opposite.
*
* Why not try some of the options above?
*/
Morris.Donut({
element: 'donut-example',
data: [
{label: "Download Sales", value: 12},
{label: "In-Store Sales", value: 30},
{label: "Mail-Order Sales", value: 20}
]
});


I do not quite understand is how to format the data obtained either from an object in that format, can you give me a clearer example? aspx file including ... cs ..... and js.
Because that's so generic it's hard to understand, can you put the aspx ... cs and js for these three archvios form a whole that can see more clearly?
Thank you very much for your time!