mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-04-04 15:14:09 -04:00
BarGroup uses data object
This commit is contained in:
@@ -11,7 +11,10 @@
|
||||
{name: 'Shade', value: 0.2},
|
||||
{name: 'Half Shade', value: 0.5}
|
||||
];
|
||||
subject = new BarGroup(bars);
|
||||
var data = {
|
||||
bars:bars
|
||||
};
|
||||
subject = new BarGroup(data);
|
||||
subject.render(d3.select('#jasmine_content').append('svg'));
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user