-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hierarchy charts - Tree Map - Data processor will work for one level ? #1660
Comments
That is correct. DataProcessor will only process top-level of data, and will not do recursive processing. I hope it's not a huge issue. |
@martynasma how can convert the color codes to color object for nested data ? |
You can build your own data iterator and just convert colors to Color objects via static function |
This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added. |
Bug description
I am using a random color for the treemap, and I expect the tooltip color to pick the alternative color from the background. However, this approach fails because I missed converting the color code to a color object. While I found that a data pre-processor can convert the color code to a color object, it only works for the parent level. I need this functionality to apply to the children as well. I believe using adapters might solve this issue but is it possible to fix using the data pre-processor?
Example : https://codepen.io/Arunpragadeeswar/pen/QWXgPvz
Environment (if applicable)
Version : Amcharts 5
Browser : Chrome
Framework : Ember
The text was updated successfully, but these errors were encountered: