I am trying to set a Scale Range for a graphic layer using ArcGIS API in HTML5, so that the graphic layer is not visible on zooming beyond that particular ScaleRange.
For the same I have googled and looked into the ArcGIS API Documentation and examples but I am not able to find the correct syntax to do it.
Can anyone please throw in some suggestions for the syntax that I can try? Currently I have used syntax like:
I don't know none of the above syntax seems to be working out.