feat:Added piechart in Dashboard
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
SVG.Nested = SVG.invent({
|
||||
// Initialize node
|
||||
create: function() {
|
||||
this.constructor.call(this, SVG.create('svg'))
|
||||
|
||||
this.style('overflow', 'visible')
|
||||
}
|
||||
|
||||
// Inherit from
|
||||
, inherit: SVG.Container
|
||||
|
||||
// Add parent method
|
||||
, construct: {
|
||||
// Create nested svg document
|
||||
nested: function() {
|
||||
return this.put(new SVG.Nested)
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user