Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 retko1985
		
			retko1985
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
I am using 2 buttons to change the calculated expression on the bar chart. I have used one bar chart and change expression based on what button was clicked (having variable).
if (vButton = 1, expression1, expression2)
I was just wondering, isn't it better from performance standpoint (not maintenance) to make 2 bar charts and use show condition with this:
on first bar chart: if(vButton) = 1
on second bar chart: if(vButton) = 2
Thank you.
 its_anandrjs
		
			its_anandrjs
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Yesh right you can do this way also can you share some samples to have a look.
 maxgro
		
			maxgro
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		you can use 2 expressions in the bar chart and enable one at a time
with a condition on the variable vButton

 its_anandrjs
		
			its_anandrjs
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Have a look on the attached sample may be something this way you can implement in your QV application.
I demonstrate both with variable or with same variable change in single chart both are best in his places where you uses it only depends on the requirement that you have on the base of that you can implement.
