- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 03-20-2018 09:14 AM
Hi All, this is first article and sharing my experience (code and steps) to create a service portal widget having charts using HighChart.js so that other community users can get benefits.
My requirement was to create a service portal page to show dashboards (graphs) tickets having pending state in number of days.
Below are screen shots. I have also attached .xml file for this.
1. I created a service portal widget below are sections.
2. Added dependencies.
HTML Template
Client Script
Server Controller
I have hard coded values here you can get data from database compute you data and can assign values.
CSS
Out Put
- 6,284 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Please provide more such type of articles.

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
How can I use this kind of graph, which does not have the chart.type element?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Upender Kumar! Hope you're doing well, I want help, I am trying to show Bar Chart on Widgets Preview, I've tried code from this website : https://jtblin.github.io/angular-chart.js/
I added dependencies in My HTML also in Widget> Dependencies> Js Include
Still, I can't see bar chart on preview, let me know If I am wrong, Help me