Skip to content

Area chart rendering incorrect dates #5070

@robinsonjohn

Description

@robinsonjohn

Description

When creating an area chart with dates on the X-axis, the dates are being rendered incorrectly. There seems to be some timezone conversion happening even though datetimeUTC is set to false.

The data used for the chart needs to be rendered as defined- no date or time conversions should take place.

Steps to Reproduce

  1. Populate area chart with the following data:

Image

  1. Define xaxis options:

Image

  1. The incorrect dates are shown

Image

Image

Expected Behavior

The X-axis date should be 6-24 and 6-27

Actual Behavior

The X-axis date shows 6-23 and 6-26

Screenshots

See above screenshots

Reproduction Link

https://codepen.io/bayfrontmedia/pen/ZYGPrxo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions