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.
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: