In QGIS 2.0 I can use with success the $scale function in the labeling expressions.
When I tried to use it for symbolizing in the data defined properties it has a value of 0.
Is there a way to make it perform like it does in labeling (getting the scale)?
As I saw in the expression string builder help that
$scale function Returns the current scale of the map canvas. Note: This function is only available in some contexts and will be 0 otherwise.
is there a source where I can read more about this e.g. in what contexts it is available? Thanks, Tudor