angular-dc
angular-dc copied to clipboard
Compose not working for compositeChart
Its not possible to create a composite chart because you can't properly use compose property in config - you need access to chart.
.compose([
dc.lineChart(composite) // composite must be chart parent
.dimension(dim)
.colors('red')
.group(grp1, "Top Line")
.dashStyle([2, 2]),
dc.lineChart(composite) // composite must be chart parent
.dimension(dim)
.colors('blue')
.group(grp2, "Bottom Line")
.dashStyle([5, 5])
])
.brushOn(false)
.render();