Bug Report T811576
Visible to All Users

The width of a bar chart doesn't correspond to the width of the aggregation interval

created 6 years ago

Hi

I am trying to create a chart with a daily line series and a monthly bar chart of aggregated values. I have made a small change to your demo and attached a screenshot of how it looks to give you an idea of what i am seeing. (see MonthlyBarChart.JPG). For this sample i am looking for the pink bars to be a month wide since they include data for a month. They look 1 day wide.

In the past if have used the asp .net chart control and it would expand the width of the bars to fill the entire month if that was the period you aggregated by.
(For reference see dxChartVsASPChart.jpg where top half is dxChart and bottom is ASP .net Chart

Is there a way to include this feature in dxCharts?

Regards,
Ricard

Comments (1)
DevExpress Support Team 6 years ago

    Hi,
    I have investigated our API and did not find a way to expand bars in a case where a few series are used and one of them is aggregated. The key point is that even if the barWidth field is set the size of a series point is limited by the current aggregation interval. I am going to discuss this behavior with my team to check if we can provide a workaround in further versions.

    Answers approved by DevExpress Support

    created 4 years ago

    We have addressed the issue described in this ticket and will include a fix in our next maintenance update. To apply this solution before official release, request a hotfix by clicking the appropriate version link.

    Note: Hotfixes may be unavailable for betas/updates set for release within a week.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.