In this article, we are going to introduce the features that the “Advanced Charts for Dokan” plugin provides. So join us.
The “Advanced Charts for Dokan” plugin allows you to take advantage of all the features of the Chartjs Library and have more advanced charts.
In the past, users who worked with the Jalali calendar had to use the Gregorian calendar to display diagrams of the Dokan plugin.
The “Advanced Charts for Dokan” plugin has made it possible for these loved ones to now use the Jalali Calendar to display information.
The “Advanced Charts for Dokan” plugin can calculate the days of the current month automatically. In addition, it is possible to determine the number of days of the current month manually.
For example, in the chart below, the number of days in the month is calculated manually. The amount we have planned is 5 days.
In the “Dokan” plugin, charts are displayed from the beginning of this month until today, but in the “Advanced Charts for Dokan” plugin, the following time periods are considered:
Monthly
From the First of the Month until Today
From the 6 Days ago until Today
From “2020-05-03” to “2020-05-07”
In the default chart of the Dokan plugin, it is only possible to display revenue and orders. But in the “Advanced Charts for Dokan” plugin, it is possible to display 13 charts.
revenues, average revenues, sales, average sales, orders, average orders, withdrawals, items, average items, shipping, average shipping, coupons, and average coupons.
The “Advanced Charts for Dokan” plugin allows you to change the date format. The default value is “Y-m-d”.
You can change the direction of chart as “ltr” or “rtl”.
LTR Direction
RTL Direction
You can change the numbers format as “english” or “arabic”.
English Format
Arabic Format
In order to be able to use older versions of the Chartjs Library, we have considered an option.
You can add your chart in any places by [ dokan-chart ] shortcode.