Hexastack / eazychart

EazyChart is a reactive chart library 📈, it allows you to easily add SVG charts in your React and Vue web applications.
https://eazychart.com
MIT License
23 stars 14 forks source link

fix: contructor.name #108

Closed marrouchi closed 1 year ago

marrouchi commented 1 year ago

Motivation

This PR is a "temporary" fix for the following issue : https://github.com/Hexastack/eazychart/issues/107

We need a type safe-guard for the certain shapes that would be included under the color scale context provider. Shapes like Segments or Area do not support non ordinal scale. So we need to find a solution in the future on how to make the developer aware of that while coding recipes.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

Checklist: