feat:Added piechart in Dashboard
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
SVG.Rect = SVG.invent({
|
||||
// Initialize node
|
||||
create: 'rect'
|
||||
|
||||
// Inherit from
|
||||
, inherit: SVG.Shape
|
||||
|
||||
// Add parent method
|
||||
, construct: {
|
||||
// Create a rect element
|
||||
rect: function(width, height) {
|
||||
return this.put(new SVG.Rect()).size(width, height)
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user