Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
440
xamwebchart - Set Column width
posted

Hi,

I am displaying a column chart. I have some filters based on which i change the item source of the chart. Suppose for itemsource1 the chart displays 10 columns and for itemsource2 the number of columns changes to 20. I have scroll enabled. I want the column width to be same no matter how many columns are displayed. The user can scroll horizontally and view the chart if it does not fit into the reserved area for the chart. I have tried setting adding the "PointWidth" chartparameter in the series (have also tried adding it to the datapoint) setting it to different values between 0 and 2. But the width of the column changes when the number of Columns displayed changes. I need to keep this width constant. Plz help.

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post and I suggest you use XamDataChart instead of XamWebChart, where you can have Zoombar and also you can scroll vertically and/or horizontally. This way you can have your Columns always look the same, no matter how many they are.

     

    Feel free to write me if you have further questions.

Children
No Data