Accessing Series value of Column in a function

Hi, I am rendering a column chart and need to bind a react function to an attribute for dynamic behaviour...
How to grab the handle to current Column in the Series being rendered?
I want to access column value in getFillColor()
https://stackblitz.com/edit/react-gsbk6u
Thanks

4 Replies 1 reply marked as answer

PJ Prafulla Joshi replied to Prafulla Joshi February 22, 2021 01:16 PM UTC

Hi, I am rendering a column chart and need to bind a react function to an attribute for dynamic behaviour...
How to grab the handle to current Column in the Series being rendered?
I want to access column value in getFillColor()
https://stackblitz.com/edit/react-gsbk6u
Thanks

Here is the Sample


SM Srihari Muthukaruppan Syncfusion Team February 23, 2021 05:50 PM UTC

Hi Prafulla, 
 
We have analyzed your query. From that, we would like to let you know that we can achieve your requirement using pointColorMapping in the chart or pointRender event in the chart. Based on your requirement we have prepared a sample for your reference. Please find the sample and screenshot below. 
 
 
Screenshot: 
 
 
If still this is not your exact requirement. kindly revert us with more information which will be more helpful for further analysis and provide you the solution sooner.  
 
Regards, 
Srihari M 


Marked as answer

PJ Prafulla Joshi February 25, 2021 06:18 AM UTC

Thanks, I could manipulate with data to achieve the requirement in my case.


SM Srihari Muthukaruppan Syncfusion Team February 26, 2021 04:50 AM UTC

Hi Prafulla, 
 
Most welcome. Kindly get in touch with us, if you requires further assistance. We are always happy in assisting you.   
   
Thanks,   
Srihari M 


Loader.
Up arrow icon