Merge pull request #10565 from doublesharp/master

Fixes legend->chart highlighting for coupons
This commit is contained in:
Mike Jolley 2016-03-15 21:47:36 +00:00
commit defa1f9fb9
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ class WC_Report_Sales_By_Date extends WC_Admin_Report {
$legend[] = array(
'title' => sprintf( __( '%s worth of coupons used', 'woocommerce' ), '<strong>' . wc_price( $data->total_coupons ) . '</strong>' ),
'color' => $this->chart_colours['coupon_amount'],
'highlight_series' => 2
'highlight_series' => 4
);
return $legend;