Hi Eric,
We have prepared the Diagram custom widget as per your requirement. Please find the custom widget below.
Please follow the below steps to import and use Diagram custom widget in the Dashboard Application.
Step 1 : You need to import the Diagram custom widget into Dashboard Designer. Refer to the user guide for how to import.
Step 2 : After importing the Diagram custom widget into the Dashboard Designer, you have to bind the measure column into Value field and dimension column into Column field as like below screenshot.
Step 3 : You will get the below output in the designer (Click Fit to screen size for the Canvas size)
Custom widget output in Designer:
Step 4: In the above Diagram custom widget, you can able to set the color for particular color ranges.
Go to Properties -> Range Settings
Final output in the Dashboard Viewer will be :
Also, We have created sample dashboard (SYDX file) with the diagram custom widget and uploaded in the below link,
NOTE:
You can change the background image used in the custom widget if you need. Please find the below steps to change the image used in the custom widget.
Step1 : Extract the Custom widget (.sycw) file. After extracting you can find the below files
Step 2 : Either go to style folder, which is currently use in the given image or you can create any folder inside the custom widget and make use of that folder path while referring the background image in the custom widget.
Step 3 : Replace the image name with already presented image name in the sourcefile.js in src folder. Refer the below screenshot.
Step 4 : If you need to modify the widget, you can modify the widget and import it again in the dashboard designer to reflect the changes. For packing the custom widget please refer to the UG link.
Please let us know if this custom widget is helped for your query and let us know if you need any further assistance.
Regards,
Suriya