Log in
Model

Chart

Magento\Backend\Model\Dashboard\Chart

What it does

This class retrieves and formats dashboard chart data for the Magento admin panel.

Developers use it to get order-related statistics grouped by time periods (24 hours, 7 days, etc.) for specific stores, websites, or groups.

It returns formatted data arrays ready for chart rendering in the backend dashboard.

Public Methods

  • getByPeriod()