Next to last year
->compareToPreviousYear() draws the same months one year earlier as lighter bars.
Note: Try it
Point at a month: the tooltip shows this year, last year and the change in percent.
Next to the period just before
->compareToPreviousPeriod() compares with the period of the same length just before: here the last 14 days with the 14 days before them.
Note: Try it
The solid line is the last 14 days; its dotted end is today, which is not over yet. The paler, dashed line is the 14 days before, drawn day for day above the same dates. Point at a day to read both and the change.
A goal as a line
->target(50000, 'Goal') draws one line across the chart.
Note: Try it
See at a glance which months are above the line; its name and value are at its right end. Point at a month: the tooltip says how many percent of the goal it reached.
A budget for every month
Give ->target() an array with a value per month and each month gets its own mark. Here the values come from a budgets table.
Note: Try it
The short line across each month is its budget; it is green on the months that reached it. Point at a month to read the sales, the budget and the percent reached.
One number with its change and its budget
->stat() with a comparison and a target: the total, the change against last year and a progress bar towards the budget.
Note: Try it
The big number is the sales of the last twelve months. Under it: the change against the twelve months before, a bar that fills up towards the budget of those months and turns green once the budget is reached, and a small line of the sales month by month.