fixed the indentation in includes/admin/reports/class-wc-report-coupon-usage.php

This commit is contained in:
claudiosmweb 2014-01-21 18:20:35 -02:00
parent 90373836bb
commit 655bd20da1
1 changed files with 32 additions and 32 deletions

View File

@ -446,46 +446,46 @@ class WC_Report_Coupon_Usage extends WC_Admin_Report {
legend: { legend: {
show: false show: false
}, },
grid: { grid: {
color: '#aaa', color: '#aaa',
borderColor: 'transparent', borderColor: 'transparent',
borderWidth: 0, borderWidth: 0,
hoverable: true hoverable: true
}, },
xaxes: [ { xaxes: [ {
color: '#aaa', color: '#aaa',
position: "bottom", position: "bottom",
tickColor: 'transparent', tickColor: 'transparent',
mode: "time", mode: "time",
timeformat: "<?php if ( $this->chart_groupby == 'day' ) echo '%d %b'; else echo '%b'; ?>", timeformat: "<?php if ( $this->chart_groupby == 'day' ) echo '%d %b'; else echo '%b'; ?>",
monthNames: <?php echo json_encode( array_values( $wp_locale->month_abbrev ) ) ?>, monthNames: <?php echo json_encode( array_values( $wp_locale->month_abbrev ) ) ?>,
tickLength: 1, tickLength: 1,
minTickSize: [1, "<?php echo $this->chart_groupby; ?>"], minTickSize: [1, "<?php echo $this->chart_groupby; ?>"],
font: { font: {
color: "#aaa" color: "#aaa"
} }
} ], } ],
yaxes: [ yaxes: [
{ {
min: 0, min: 0,
minTickSize: 1, minTickSize: 1,
tickDecimals: 0, tickDecimals: 0,
color: '#ecf0f1', color: '#ecf0f1',
font: { color: "#aaa" } font: { color: "#aaa" }
}, },
{ {
position: "right", position: "right",
min: 0, min: 0,
tickDecimals: 2, tickDecimals: 2,
alignTicksWithAxis: 1, alignTicksWithAxis: 1,
color: 'transparent', color: 'transparent',
font: { color: "#aaa" } font: { color: "#aaa" }
} }
], ],
} }
); );
jQuery('.chart-placeholder').resize(); jQuery('.chart-placeholder').resize();
} }
drawGraph(); drawGraph();