PMSI-AlignAlytics / dimple

An object-oriented API for business analytics
Other
2.73k stars 556 forks source link

Using Dimple with Twitter Bootstrap grid framework #252

Open agairola1976 opened 7 years ago

agairola1976 commented 7 years ago

Hello, I am new to dimple and I have been exploring ways and means to develop dashboards with multiple widgets (bar charts, pie charts, scatter plots etc).

My dashboard is divided into rows and columns (as per Twitter Bootstrap grid) and each cell is a Dimple chart.

However when I make the JS call outs, the Grid structure is completely ignored and instead of say 3 charts in one row, I see three rows of a single chart each.

I have struggled a lot. Infact, earlier I was using Chart.js and it did not have this issue. However, it has limited number of chart types.

Please help!

GeorgeWL commented 7 years ago

I can't see why this would be an issue, have you made sure that the script you've made is selecting the correct css selector?

Cause dimples doesn't actually know anything about your css other than whatever selector it is told to populate with a generated chart.