File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -240,11 +240,6 @@ const SBOBarChart = {
240240 }
241241 cd = chartDataParam ;
242242 }
243- if ( this . vertical ) {
244- catValues . reverse ( ) ;
245- valValues . reverse ( ) ;
246- }
247-
248243
249244 const option = {
250245 title : {
@@ -260,7 +255,7 @@ const SBOBarChart = {
260255 axisPointer : {
261256 type : 'shadow' // 'shadow' for bar charts, 'line' for line charts
262257 } ,
263- formatter : '{b}<br/>{a}: {c}' // Custom tooltip format
258+ formatter : this . vertical ? '{b}: {c}' : '{b} <br/>{a}: {c}'
264259 } ,
265260 grid : {
266261 left : '3%' ,
Original file line number Diff line number Diff line change 103103 </div>
104104 -->
105105 <div class="col-md-6 col-lg-6">
106- <sbo-barchart ref="pathsBarChart" target-element-id="pathsBarChart" title="Top paths" series-name="Paths " v-bind:hide-legends="false" v-bind:vertical="true"></sbo-barchart>
106+ <sbo-barchart ref="pathsBarChart" target-element-id="pathsBarChart" title="Top paths" series-name="Path " v-bind:hide-legends="false" v-bind:vertical="true"></sbo-barchart>
107107 <sbo-details-metrics v-if="loadedCharts.pathsBarChart" ref="pathsDetailedMetrics" v-bind:show-key-value-prop="false" elem-id="pathsDetailedMetrics"></sbo-details-metrics>
108108 </div>
109109 </div>
You can’t perform that action at this time.
0 commit comments