From 9070a33e9bfe626f445dab5df1275384c966710c Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Mon, 29 Apr 2019 18:11:24 +0900 Subject: [PATCH] Chart title edit --- Monitor/Pages/SalesAnalyzer.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Monitor/Pages/SalesAnalyzer.cshtml b/Monitor/Pages/SalesAnalyzer.cshtml index 3b256d9..7905010 100644 --- a/Monitor/Pages/SalesAnalyzer.cshtml +++ b/Monitor/Pages/SalesAnalyzer.cshtml @@ -364,7 +364,7 @@ /**/ lineChart.useInteractiveGuideline(true); lineChart.xAxis.tickFormat(function (d) { return d3.time.format('%Y/%m/%d')(new Date(d)); }); - lineChart.yAxis.axisLabel('Sales').tickFormat(d3.format(',')); + lineChart.yAxis.axisLabel('Daily Sales').tickFormat(d3.format(',')); d3.select('.trades-chart svg').attr('perserveAspectRatio', 'xMinYMid').datum(chartData).transition().duration(500).call(lineChart); nv.utils.windowResize(lineChart.update); @@ -379,7 +379,7 @@ /**/ lineChart.useInteractiveGuideline(true); lineChart.xAxis.tickFormat(function (d) { return d3.time.format('%Y/%m/%d')(new Date(d)); }); - lineChart.yAxis.axisLabel('Profit').tickFormat(d3.format(',.2f')); + lineChart.yAxis.axisLabel('Daily Profit').tickFormat(d3.format(',.2f')); d3.select('.profit-chart svg').attr('perserveAspectRatio', 'xMinYMid').datum(chartData).transition().duration(500).call(lineChart); nv.utils.windowResize(lineChart.update);