Skip to content

[charts-pro] onAxisClick should provide y-axis data #20778

@marc-niclas

Description

@marc-niclas

Summary

I have noticed that when registering an onAxisClick callback, I only receive x-axis data information, at least on the heatmap. This may be an issue on other plots as well, I am not sure.

Examples

For example, when clicking, I receive the following data:

{
    "dataIndex": 34,
    "axisValue": "2025-12-07T00:00:00.000Z",
    "seriesValues": {}
}

Motivation

I want to know where on the y-axis the user clicked.

Search keywords: onaxisclick y-axis click event heatmap

Order ID: 123105

Metadata

Metadata

Assignees

Labels

scope: chartsChanges related to the charts.support: premium standardSupport request from a Premium standard plan user. https://mui.com/legal/technical-support-sla.type: bugIt doesn't behave as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions