Skip to content

[charts] LinePlot does not allow to use scaleType 'points' #14585

@mircowidmer

Description

@mircowidmer

Summary

When I use LineChart, using the scaleType point works as expected:

<LineChart
  width={500}
  height={300}
  series={[
    { data: pData, label: 'pv' },
    { data: uData, label: 'uv' },
  ]}
  xAxis={[{ scaleType: 'point', data: xLabels }]}
/>

When I use the LinePlot in a combined setup, I have no way of setting the scaleType to point.

See: https://mui.com/x/api/charts/axis-config/#axis-config-prop-scaleType

Examples

No response

Motivation

No response

Search keywords: LinePlot ScaleType

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: chartsChanges related to the charts.support: questionCommunity support but can be turned into an improvement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions