Customize Linear Gauge Chart

by WaseelAkbari » Tue Dec 13, 2016 12:31 am

How to Change the color of a Linear Gauge chart to a customized color and increase the width of the color on the chart?
See attached example
Attachments
Chart2.jpg
Chart2.jpg (15.03 KiB) Viewed 336 times
User avatar
WaseelAkbari
 
Posts: 16
Joined: Tue Nov 29, 2016 5:25 pm
Location: Greater Los Angeles Area

by Dmitry Kozlov » Tue Dec 13, 2016 7:14 am

User avatar
Dmitry Kozlov
 
Posts: 129
Joined: Wed Nov 12, 2014 3:24 pm

by WaseelAkbari » Wed Dec 14, 2016 6:32 pm

Thanks Dmitry Kozlov.
I was able to customize the color on the chart but I am wondering if we can increase the width of the progress bar (the color) on the Linear Gauge chart?
User avatar
WaseelAkbari
 
Posts: 16
Joined: Tue Nov 29, 2016 5:25 pm
Location: Greater Los Angeles Area

by YuriyMedvedev » Thu Dec 15, 2016 9:59 am

Hi! Add this line to Dashboard -> Advanced->PreRender:

Code: Select all
config.pointer[0].size = 20;


You can change this value to adjust the size of the line
YuriyMedvedev
 
Posts: 14
Joined: Mon Sep 26, 2016 3:05 pm

by WaseelAkbari » Thu Dec 15, 2016 5:46 pm

Thank you very much YuriyMedvedev :).
User avatar
WaseelAkbari
 
Posts: 16
Joined: Tue Nov 29, 2016 5:25 pm
Location: Greater Los Angeles Area


Return to Dashboard Designer for SharePoint 2013