cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Column chart - add title on line Using a line at the top of the columns to show maximum capacity

jeffreyl
8 - Cloud Apps
8 - Cloud Apps

Column chart - I need to add a title above a line I have at the top of a column chart to clearly define this line show the maximum capacity. Seems like this could be done but not sure how to code it.

Thank you in advance.

2 ACCEPTED SOLUTIONS

Sijo1995
9 - Travel Pro
9 - Travel Pro

Hi @jeffreyl ,

Please try this script.

Url-https://www.binextlevel.com/post/add-subtitle-to-widget

 

widget.on('processresult',function(se,ev){
	//Subtitle
	ev.result.subtitle = {
		text: 'This is a sample subtitle. This is a sample subtitle. This is a sample subtitle.',
		align: 'left',
		style: {
			color: '#787878',
            fontSize:'13px',
			fontWeight:'bold'
		}
	}
	
	ev.result.chart.marginTop = 75 // to add required space to display subtitle at the top
})

Thanks

Sijo

View solution in original post

Thank you, Works Great!!!

View solution in original post

2 REPLIES 2

Sijo1995
9 - Travel Pro
9 - Travel Pro

Hi @jeffreyl ,

Please try this script.

Url-https://www.binextlevel.com/post/add-subtitle-to-widget

 

widget.on('processresult',function(se,ev){
	//Subtitle
	ev.result.subtitle = {
		text: 'This is a sample subtitle. This is a sample subtitle. This is a sample subtitle.',
		align: 'left',
		style: {
			color: '#787878',
            fontSize:'13px',
			fontWeight:'bold'
		}
	}
	
	ev.result.chart.marginTop = 75 // to add required space to display subtitle at the top
})

Thanks

Sijo

Thank you, Works Great!!!