WPMorris Plugin First Test

Donut

[morris type=”Donut” element=”donut-div” xkey=”” ykey=”” labels=””] {label: “Download Sales”, value: 12}, {label: “In-Store Sales”, value: 30}, {label: “Mail-Order Sales”, value: 20} [/morris]


Bar

[morris type=”Bar” element=”bar-div” xkey=”y” ykeys=”‘a’, ‘b'” labels=”‘Series A’, ‘Series B'”]{ y: ‘2006’, a: 100, b: 90 }, { y: ‘2007’, a: 75, b: 65 }, { y: ‘2008’, a: 50, b: 40 }, { y: ‘2009’, a: 75, b: 65 }, { y: ‘2010’, a: 50, b: 40 }, { y: ‘2011’, a: 75, b: 65 }, { y: ‘2012’, a: 100, b: 90 }[/morris]


Line

[morris type=”Line” element=”line-div” xkey=”y” ykeys=”‘a’, ‘b'” labels=”‘Series A’, ‘Series B'”]{ y: ‘2006’, a: 100, b: 90 }, { y: ‘2007’, a: 75, b: 65 }, { y: ‘2008’, a: 50, b: 40 }, { y: ‘2009’, a: 75, b: 65 }, { y: ‘2010’, a: 50, b: 40 }, { y: ‘2011’, a: 75, b: 65 }, { y: ‘2012’, a: 100, b: 90 }[/morris]


Area

[morris type=”Area” element=”area-div” xkey=”y” ykeys=”‘a’, ‘b'” labels=”‘Series A’, ‘Series B'”]{ y: ‘2006’, a: 100, b: 90 }, { y: ‘2007’, a: 75, b: 65 }, { y: ‘2008’, a: 50, b: 40 }, { y: ‘2009’, a: 75, b: 65 }, { y: ‘2010’, a: 50, b: 40 }, { y: ‘2011’, a: 75, b: 65 }, { y: ‘2012’, a: 100, b: 90 }[/morris]

Similar Posts:




No Comments


You can leave the first : )



Leave a Reply

Your email address will not be published. Required fields are marked *