RGraph is a JavaScript charts library based on
HTML5 SVG and canvas. RGraph is mature (over 15 years
old) and has a wealth of features making it an ideal
choice to use for showing charts on your website.
Get the latest version of RGraph (version 6.18, 1st June 2024) from
the download page. You can read the changelog here. There's also older versions available,
minified files and links to cdnjs.com hosted libraries.
Posted by Vishal shukla at 16:06 on Wednesday 16th June 2021[link]
Sir actually I am making a pai chart it's labels actually outside I wants it inside the pai chart so how I can done this please let me know as soon as possible you can see the my code just given below.
function ProductModel() {
RGraph.AJAX.getJSON({
url: '/Home/ProductModelForGraph' , callback: function (json) {
var Ids1 = [];
var IDs = [];
var IDs2 = [];
$(json.getData).each(function (index, value1) {
IDs.push(this.BomId);
IDs2.push(this.ModelName);
Ids1.push([this.ModelName, this.BomId ]);
If not then maybe setting the labels to be native canvas text with the textAccessible option (set it to false) and the labelsIngraph* options may be useful.