问题
I am using a google tree map to render some data. I have a problem with showScale component. When the tree map renders, the showScale component is completely black when it should show a e gradient between minColor and maxColor.
The fill
attribute of the svg component is set as follows :
fill="url(#_ABSTRACT_RENDERER_ID_1)"
Can you explain what _ABSTRACT_RENDERER_ID_1 is ?
回答1:
It will be either a gradient fill or a pattern fill.
Somewhere else in the file - probably in a <defs>
section - will be one of the following elements with an id
attribute that matches that string:
<linearGradient>
<radialGradient>
<pattern>
来源:https://stackoverflow.com/questions/26059800/google-treemap-fill-value-set-to-abstract-renderer-id-1