Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Feature - Chart component [Design] #66

Open
2 tasks done
omarefg opened this issue Nov 14, 2021 · 0 comments
Open
2 tasks done

Feature - Chart component [Design] #66

omarefg opened this issue Nov 14, 2021 · 0 comments
Assignees
Labels
carry-over-5 task that started in sprint 5 but it's not finished. design Design task feature New feature or request weight:5 something that need work
Milestone

Comments

@omarefg
Copy link
Contributor

omarefg commented Nov 14, 2021

Checklist βœ…

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary πŸ’‘

The Chart component provided an user friendly way of rendering a chart inside a card.

Screenshot from 2021-11-14 11-13-23

We'll expose two types of charts, wave and population. We'll use Echarts to achieve this component, and will use the same schema that echarts uses. This component is an layer between echarts and the project using platzily ui. As echarts is a really heavy library we'll take only what we need. These are the links resulted from the research.

The person in charge of building this component can take information from the links above.

The component will be used like this.

import { Chart } from '@platzily-ui/components'

const options = {} // here will be the schema resulted from the implementation

const MyComponent = () => {
  return (
    <Chart type={'wave' || 'population'} options={options} />
  )
}

Have in mind that we do not have to expose the same schema as echarts, we could expose a minimalist schema of this and take abstration of some fields that could be inherent to Platzily UI design system.

Requirements 🌈

The component must be tested using unit testing.

Motivation πŸ”¦

A way to provide to the user an easy way to render data as charts.

@omarefg omarefg added the feature New feature or request label Nov 14, 2021
@omarefg omarefg changed the title Feature - Chart component Feature - Chart component [Design] Nov 14, 2021
@omarefg omarefg modified the milestones: Sprint 5 - UI, Sprint 6 - UI Nov 14, 2021
@omarefg omarefg added the design Design task label Nov 14, 2021
@omarefg omarefg modified the milestones: Sprint 6 - UI, Sprint 5 - UI Nov 16, 2021
@octaviocvargas octaviocvargas added weight:3 something that required understanding weight:5 something that need work and removed weight:3 something that required understanding labels Nov 20, 2021
@edanfesi edanfesi modified the milestones: Sprint 5 - UI, Sprint 6 - UI Dec 1, 2021
@edanfesi edanfesi added the carry-over-5 task that started in sprint 5 but it's not finished. label Dec 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
carry-over-5 task that started in sprint 5 but it's not finished. design Design task feature New feature or request weight:5 something that need work
Projects
Status: Todo
Development

No branches or pull requests

3 participants