Open arihantparsoya opened 1 year ago
@arihantparsoya , Can you please assign it to me , It will be my first contribution.
Done
@arihantparsoya , can you please explain me a little bit more , where exactly I have to make changes , I have read the code.
You need to add new parameters in ChartInterface
https://github.com/frolicorg/frolic-react/blob/main/src/components/utils/ChartInterface.tsx
ChartInterface is the base for the AreaChart parameters:
Then you can add functionality inside AreaChart:
https://github.com/frolicorg/frolic-react/blob/main/src/components/graph/AreaChart/AreaChart.tsx
Thank you , Now I will work on it !
@arihantparsoya pull-request raised for the issue
When the user adds the
data
to the charts, he needs to set themetric
anddimension
attribute according to the attribute names present indata
.It is possible that the user wants to give different names to these
labels
anddimensions
. For which we need to create another optional input attributes calledlabelNames
anddimensionNames
. When the user sends these attributes, we need to use these attributes to display in the UI