Bar Chart "stacked" attribute not honored for vertical charts.

Abierto
#603 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
58/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
react, typescript

Línea de trabajo

Start with the linked minimal reproduction and compare the two BarChart examples using static data, focusing on the difference between the default and horizontal orientations. Trace the BarChart implementation from the appkit repository entry point and verify the result with a vertical chart containing multiple series; done means stacked=true produces stacked vertical bars as it already does horizontally.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hello,

I am working with appkit attempting to make some stacked bar charts over a time series.
My goal is to have a stacked bar with multiple series.

However, the stacked={true} attribute on <BarChart /> does not appear to be honored unless orientation='horizontal'.

Example:
<BarChart data={data} stacked={true} xKey="work_date" /> does not stack:

Image

<BarChart data={data} stacked={true} xKey="work_date" orientation="horizontal" /> does stack:

Image

I have created a minimal reproduction here. To run this the DataBricks details will need to be provided in a .env, but it uses static data for the example charts.

Thank you!

Lenguaje dominante
TypeScript
Estrellas
119
Forks
36
Merge medio
4 d 16 h
PR fusionados (30 d)
37

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de databricks/appkit

Todos los issues de databricks/appkit

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.