WSO2 dashboard gadget customization -
i'm using wso2 das product , i'm using deafult gadget provided ws02 product; when gadget receives data it's correct legend of data moved on right cutting words , it's not visualize. attachment included.
regards.enter image description here
if data set has lengthy characters, can increase right padding of chart. when generate gadget, directory gadget created inside following directory
<das-pack-home>/repository/deployment/server/jaggeryapps/portal/store/carbon.super/fs/gadget/
inside there go js directory , open js generated bar chart. file contains chart drawing logic, here vizgrammar [1][2] has been used charting library , configuration generated inside buildchartconfig() function. there add following line reconfigure padding, here have incrased right padding 90.
conf.padding = {"top": 10, "left": 50, "bottom": 40, "right": 90}
Comments
Post a Comment