ZoomCharts Documentation
Switch to Version 2.0 (BETA)
"layer.style.allObjectsStyleFunction" is useful when styling is dependant not only on the properties of the node, but also the whole context of the chart.
In this example the radius of a node is determined by selecting only currently visible nodes, and ranking them by population size. Afterwards the radius is applied in steps. Nodes that would rank in the top 0% to 10% would be assigned radius of 52px. Nodes ranking between 10% and 20% would be assigned 36px radius and so on.
To achieve this "allObjectsStyleFunction" is used. Inside the function only the nodes within bounds are filtered, and the specific stepping autoscale can be applied.