We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the issue
I want to show the legend in the bottom position for line series chart but failed, it shows in the right position
To Reproduce Steps to reproduce the behavior:
import React from 'react'; import { Chart, Settings, Axis, LineSeries, ScaleType, Position, } from '@elastic/charts'; interface DataPoint { x: string; y: number; } interface LineChartProps { data: DataPoint[]; title: string; } export function LineChart({ data, title }: LineChartProps) { return ( <Chart size={{ height: 300 }}> <Settings theme={{ chartMargins: { left: 40, right: 40, top: 20, bottom: 40 }, }} showLegend={true} legendPosition={Position.Bottom} /> <Axis id="bottom" position={Position.Bottom} title="Time" tickFormat={(d) => d} /> <Axis id="left" title="Value" position={Position.Left} tickFormat={(d) => d} /> <LineSeries id={title} name={title} xScaleType={ScaleType.Ordinal} yScaleType={ScaleType.Linear} xAccessor="x" yAccessors={["y"]} data={data} /> </Chart> ); }
Expected behaviour
I expect to see the legend is put in the bottom instead of right.
Version (please complete the following information):
Additional context
it seems the echChartContent--column class is not added.
echChartContent--column
The text was updated successfully, but these errors were encountered:
@markov00 can you help have a look, I'm blocking by this bug (maybe not a bug, but I just don't know where is the problem), thanks!
Sorry, something went wrong.
I'm investigating this a bit, but I'm on a couple of more priorities right now. I hope I can give you an update today
No branches or pull requests
Describe the issue
I want to show the legend in the bottom position for line series chart but failed, it shows in the right position
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
I expect to see the legend is put in the bottom instead of right.
Version (please complete the following information):
Additional context
it seems the
echChartContent--column
class is not added.The text was updated successfully, but these errors were encountered: