on 06-21-2015 9:29 AM
Dears,
My requirement being increasing the width of each columns in a Column - Combination chart and i am unable to do that.
But i am able to fill colors to the columns with the following piece of code in CSS.
g.v-m-maing.v-m-plotg.v-column:nth-child(1) .v-datapoint.v-morphable-datapoint {fill: RGB(146,208,80)}
but when I try to increase width with the below piece of code its not working....
g.v-m-main g.v-m-plot g.v-column:nth-child(1) .v-datapoint.v-morphable-datapoint {width: 45px;}
Please let me know if I am missing anything in my code.
Rgds,
Sethu.
Hi sethuraman,
g.v-m-main g.v-m-plot g.v-column:nth-child(1) .v-datapoint.v-morphable-datapoint {width: 45px; !important}
will do the work.
Thanks,
Nithyanandam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venu,
Yes, I have tried the same but its not working.
Please let me know is there any other possibility to achieve the same.
Note : width is increasing automatically when we map less no of columns in x-axis but also spacing between columns also increasing proportionately where in my requirement is to increase the width of each column bar and reduce the spacing between one to the other column.
Rgds,
Sethu.
Hi sethu,
Seems we both are doing the same. I hope you upload the css file in repository and doing the changes. And can you tell me which browswer are you using?
I have tried in broswer developer tool which seems working fine, can you test this out in chrome as per screenshot
1.Right click inspect element
2.change the width in style
Thanks,
Nithyanandam
Hi Venu,
Yes you are right. It seems like its working in Chrome browser, as previously I was checking in Firefox browser where it was not working.
Still as per my requirement I have got to implement 2 things.
1) The column width is getting extended to the other month where it is not getting aligned to be displayed in respective months means the column width of June is extending to July also as I have highlighted in red color.
2) It has to work on mobile devices where I have to check for the same and would update.
Rgds,
Sethu.
Hi Sethu - I've traced through the DOM and I am not seeing where changing the column width is an option -- maybe others have ideas but I can't find it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.