Customise the multiBar Chart

Hi Team,
Can multiBar chart Min and Max range for Yaxis customisable?
Is there a way to make the chart Yaxis start at the min value in the array used to build the chart.

I have a chart following code

	<..tm1-ui-chart 
	tm1-chart-type="multiBar"   
	tm1-height="300" 
	tm1-axis-label-x="Amount(s)"
	tm1-format-percentage="true" 
	tm1-data-decimal="2" 
	tm1-axis-label-y="" 
	ng-if=" " 
	tm1-duration="2000"   
	style="cursor:pointer">

	<tm1-ui-chart-value  ></tm1-ui-chart-value>
	<tm1-ui-chart-value ></tm1-ui-chart-value>
	<tm1-ui-chart-value  ></tm1-ui-chart-value>
	<tm1-ui-chart-value ></tm1-ui-chart-value>
									
	</tm1-ui-chart>

Something like the following in side override parameter?
linearScale = d3.scale.linear()
.domain([20,100])
.range([0,100]);

So the Yaxis starts at 20 not default 0
Thanks,

Hi @ishapiro,

You could try to see if they have a setting for that here:

https://krispo.github.io/angular-nvd3/#/multiBarChart

Search for a property through the “Extended” setting:

After that, the tm1-ui-chart has the tm1-options-override to help you further customize the chart behaviour.

–
Paul

1 Like