Skip to content

Chart is stretching vertically and horizontally without maintaining aspect ratio of elements on Pinch #936

@ratz6

Description

@ratz6

When I use Pinch in my Chart JS treemap, my Elements in treemap start to expand horizontally and vertically.

It should expand like how pan and wheel expands on web keeping the elements aspect ratio in sync.

RIght now it works like this on mweb > https://jsfiddle.net/sohrabi2050/em406Lvt/3/

Check this out on mobile , which is what I expect in pinch >

https://www.tradingview.com/heatmap/stock/#%7B%22dataSource%22%3A%22NASDAQ100%22%2C%22blockColor%22%3A%22change%22%2C%22blockSize%22%3A%22market_cap_basic%22%2C%22grouping%22%3A%22no_group%22%7D

It is linked to this issue I believe : #792

How do we achieve this ? @kurkle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions