redraw
method is used when we want to manually update plot data or change properties in our chart. If we want to change the axes or have jqPlot update the data series from a remote data source, we need to use replot
.min
and max
values for our gauge. We created label
and used labelPosition
to move the label below the chart. We created an array for the ticks
option to allow us know the position of where our needle sat. We also set intervals
to create colored bands below the needle and used intervalColors
to color those bands.3.136.17.12