feat:Added piechart in Dashboard

This commit is contained in:
2025-02-22 15:35:48 +05:30
parent 357071b967
commit f7cb1af2c4
384 changed files with 112765 additions and 8 deletions
+24
View File
@@ -0,0 +1,24 @@
SVG.Use = SVG.invent({
// Initialize node
create: 'use'
// Inherit from
, inherit: SVG.Shape
// Add class methods
, extend: {
// Use element as a reference
element: function(element, file) {
// Set lined element
return this.attr('href', (file || '') + '#' + element, SVG.xlink)
}
}
// Add parent method
, construct: {
// Create a use element
use: function(element, file) {
return this.put(new SVG.Use).element(element, file)
}
}
})