Skip to content
Permalink
Browse files

Set a thousands separator on dashboard graphs.

  • Loading branch information...
ruebot committed May 3, 2019
1 parent b180bc1 commit fef483ee9e83f8bb3d2b35edc1926aa412cb4a85
Showing with 11 additions and 11 deletions.
  1. +11 −11 app/views/dashboards/graphs.html.erb
@@ -29,87 +29,87 @@
<div class="card card-body">
<h2 class="card-header">Spark job length</h2>
<p class="card-body">
<%= area_chart dashboards_spark_times_chart_path, curve: false, ytitle: 'Job length (minutes)', download: {filename: 'auk_spark_times_chart.png', background: '#ffffff'} %>
<%= area_chart dashboards_spark_times_chart_path, curve: false, ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_spark_times_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">Spark throughput</h2>
<p class="card-body">
<%= column_chart dashboards_spark_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', download: {filename: 'auk_spark_throughput_chart.png', background: '#ffffff'} %>
<%= column_chart dashboards_spark_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_spark_throughput_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">Download job length</h2>
<p class="card-body">
<%= area_chart dashboards_download_times_chart_path, curve: false, ytitle: 'Job length (minutes)', download: {filename: 'auk_download_times_chart.png', background: '#ffffff'} %>
<%= area_chart dashboards_download_times_chart_path, curve: false, ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_download_times_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">Download throughput</h2>
<p class="card-body">
<%= column_chart dashboards_download_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', download: {filename: 'auk_download_throughput_chart.png', background: '#ffffff'} %>
<%= column_chart dashboards_download_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_download_throughput_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">GraphPass job length</h2>
<p class="card-body">
<%= area_chart dashboards_graphpass_times_chart_path, curve: false, ytitle: 'Job length (minutes)', download: {filename: 'auk_graphpass_times_chart.png', background: '#ffffff'} %>
<%= area_chart dashboards_graphpass_times_chart_path, curve: false, ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_graphpass_times_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">GraphPass throughput</h2>
<p class="card-body">
<%= column_chart dashboards_graphpass_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', download: {filename: 'auk_graphpass_throughput_chart.png', background: '#ffffff'} %>
<%= column_chart dashboards_graphpass_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_graphpass_throughput_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">Text filter job length</h2>
<p class="card-body">
<%= area_chart dashboards_textfilter_times_chart_path, curve: false, ytitle: 'Job length (minutes)', download: {filename: 'auk_text_filter_times_chart.png', background: '#ffffff'} %>
<%= area_chart dashboards_textfilter_times_chart_path, curve: false, ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_text_filter_times_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">Text filter throughput</h2>
<p class="card-body">
<%= column_chart dashboards_textfilter_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', download: {filename: 'auk_text_filter_throughput_chart.png', background: '#ffffff'} %>
<%= column_chart dashboards_textfilter_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_text_filter_throughput_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">Clean-up job length</h2>
<p class="card-body">
<%= area_chart dashboards_cleanup_times_chart_path, curve: false, ytitle: 'Job length (minutes)', download: {filename: 'auk_cleanup_times_chart.png', background: '#ffffff'} %>
<%= area_chart dashboards_cleanup_times_chart_path, curve: false, ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_cleanup_times_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">Clean-up throughput</h2>
<p class="card-body">
<%= column_chart dashboards_cleanup_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', download: {filename: 'auk_cleanup_throughput_chart.png', background: '#ffffff'} %>
<%= column_chart dashboards_cleanup_throughput_chart_path, curve: false, xtitle: 'Collection size (GB)', ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_cleanup_throughput_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>
<div class="row">
<div class="card card-body">
<h2 class="card-header">Seed job length</h2>
<p class="card-body">
<%= area_chart dashboards_seed_times_chart_path, curve: false, ytitle: 'Job length (minutes)', download: {filename: 'auk_seed_times_chart.png', background: '#ffffff'} %>
<%= area_chart dashboards_seed_times_chart_path, curve: false, ytitle: 'Job length (minutes)', thousands: ",", download: {filename: 'auk_seed_times_chart.png', background: '#ffffff'} %>
</p>
</div>
</div>

0 comments on commit fef483e

Please sign in to comment.
You can’t perform that action at this time.