Widget:TestingjqPlot/doc
From WikiEducator
This is the documentation page for Widget:TestingjqPlot.
Parameters
- width= width of the plot (integer)
- height = height of plot (integer)
- array= data point array. Format is [1,2,3,4,5,6] or [[1,2],[3,4],[5,6],[7,8]]
- xLabel = Label for the x-axis
- yLabel = Label for the y-axis
- plotTitle = Title for the top of the plot
- showLine = {true/false}
- pointSize = integer that defines the size of the points
- pointStyle = {square, diamond, circle, etc}
Usage
{{#widget:TestingjqPlot|width=600|array=[[2,4],[4,8],[8,16],[16,32.5]]|xLabel=Acceleration|yLabel=Force|plotTitle=My Title}}
renders as
![Loading...](/skins/common/images/ajax-loader.gif)