Hi folks,
I'm on a project which requires to incorporate a d3.js based chart into a UI5 application.( sap.viz library doesn't fullfill )
I'm thinking maybe to extend a sap.ui.core.Control.
But here comes some problems:
1. how to implement the renderer function?
renderManager has the write() method, but this method is to write html strings. But I'll use d3's method to draw the svg elements.
How can I do that?
2. how to achieve responsive ?
I'm not sure how to auto adjust my chart size to the actual device size.
3. how to refresh my chart when data changes
my chart will receive some data from outside. how to refresh my chart when data changes?
Regards,
Aaron.