Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2569-standardlibrary-cchart-cchartscale.md
T

34 lines
493 B
Markdown
Raw Normal View History

2026-06-23 21:47:51 +08:00
# Scale (Get Method)
Gets the value of "Scale" property.
```
int  Scale() const
```
Return Value
Value of "Scale" property of the chart assigned to the class instance. If there is no chart assigned, it returns 0.
# Scale (Set Method)
Sets new value for "Scale" property.
```
bool  Scale(
   int  scale      // property value
   )
```
Parameters
scale
[in]  New value for "Scale" property.
Return Value
true - successful, false - cannot change the property.