You must be logged in to post your query.
Home › Forums › Chart Support › Bar chart construction with dynamic values
Tagged: barchart
Hi,
I have to construct the chart as per the below requirement. in the tooltip, it should display total as mentioned in the below image. imgur.com/a/YZIGzJ6
inputs are highly appreciated. Thanks for the support in advance.
Thanks.
Please find the sample input JSON for the above-requested one.
{“licenseSummary” : [{“serverName”:”server 1″,”licenseData”:[{“licenseType”:”User license”,”licenseData”:{“available”:”32″,”used”:”66″}}, {“licenseType”:”Group license”,”licenseData”:{“available”:”32″,”used”:”66″}}]},{“serverName”:”server 2″,”licenseData”:[{“licenseType”:”User license”,”licenseData”:{“available”:”32″,”used”:”66″}}, {“licenseType”:”Group license”,”licenseData”:{“available”:”32″,”used”:”66″}}]}]}
Thanking you.
@spram7788,
Please take a look at this jsfiddle.
— Vishwas R Team CanvasJS
@Vishwas R
Thanks a ton, I have seen the grouping of labels combined as per the server level. it would be good to segregate user level at one time and group level at one time.
Again thanks for your response.
Hi Vishwas,
How to segregate the labels on bars based on user and group. example. for user bar Server 1 Total license: 32+66 user license Available: 32 user licnese used : 66 for group bar Server 1 Total license: 32+66 user license Available: 32 user licnese used : 66
Same for server 2. Server 2 Total license: 32+66 license Available: 32 licnese used : 66
and also while integrating this one into my code chart.render() is not compatable to my version. it seems our jquery 1.2 which is very old version. how to resolve this, Please advice.
Sorry, its not possible to show toolTip separately for same x-value when toolTip shared property is set to true. However you can format toolTip content using contentFormatter. Please take a look at this updated jsfiddle.
You must be logged in to reply to this topic. Login/Register