Skip to content
New issue

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

Composant DashboardChart #49

Open
jbdesbas opened this issue Oct 8, 2024 · 1 comment
Open

Composant DashboardChart #49

jbdesbas opened this issue Oct 8, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jbdesbas
Copy link
Member

jbdesbas commented Oct 8, 2024

Composant pour créer un graphique Echarts simplement.

Properties :
data : données en entrée
sql : requête appliqué aux données
type : type de graphique eCharts (bar, pie, etc.)
chartOptions : configuration echarts supplémentaires

Permet de créer un graphique en intégrant directement les hook nécessaires (useDashboardElement, useChartData, useExport, etc.).
Il peut être enfant d'un DashboardElement

@jbdesbas jbdesbas self-assigned this Oct 8, 2024
@jbdesbas
Copy link
Member Author

jbdesbas commented Oct 9, 2024

Exemple :

  <DashboardElement title="test">
      <DashboardChart 
          data={[{mavar:'a', autrevar:2},{mavar:'b', autrevar:5},{mavar:'c', autrevar:4}]}
          chart_type="bar"
      />
  </DashboardElement>

image

@jbdesbas jbdesbas added this to the 1.3 milestone Oct 9, 2024
@jbdesbas jbdesbas added the enhancement New feature or request label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant