Meal Tracker Documentation

Documentation and tips for setting up Meal Tracker on your WordPress site.

More:
WordPress.org / GitHub / YeKen.uk

[mt-chart-today]

The following shortcode is only available in the Premium version of the plugin.

Renders the progress chart for today's entry.

Default view

Default View

Pie chart

Pie chart

Shortcode Arguments

The shortcode supports the following arguments:

Argument Description Options Example
chart-height Specifies the height of the progress chart used within the shortcode Number/px [mt-chart-today chart-height="150px"]
chart-hide-legend Specifies whether the legend for the progress chart should be hidden "true" (default) or "false" [mt-chart-today chart-hide-legend="true"]
chart-hide-title Specifies whether the title for the progress chart should be hidden "true" or "false" (default) [mt-chart-today chart-hide-legend="title"]
chart-type Specifies whether the progress chart should be a "pie" or "doughnut" "pie" or "doughnut" (default) [mt-chart-today chart-type="pie"]