drawing_style
Edit only the requested properties of an existing drawing; all others are preserved. For a text edit send just {id,text,fontSize}; never copy the entire stored style or its hex colours. Get the id from chart_state. Use it to keep several drawings apart โ a measured level and a projected one should not be the same colour, and a reader has only the picture to tell them by. Changes the chart you are building; finish with chart_link, or analysis_prepare for a sharing draft that needs human review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | From chart_state. | |
| fill | No | Palette fill colour, or โnoneโ. | |
| text | No | Required for text/note/callout: concise words, with for short lines. For emoji: one Unicode emoji, e.g. ๐ or โ ๏ธ. Max 500 characters. | |
| color | No | A palette name. โupโ and โdownโ are the reserved green and red โ they assert a bullish or bearish claim, so use them for position zones and not for a measurement. | |
| width | No | Stroke width in pixels, 1 to 6. | |
| symbol | No | Defaults to the charted symbol. | |
| opacity | No | Strength of the whole drawing, 0.1 to 1. Fade a level that is context rather than the decision. | |
| arrowEnd | No | ||
| fontSize | No | Size 9โ160px, normally 12โ16 for readable text. Emoji render at twice this size. | |
| textBold | No | ||
| wrapText | No | Default true: wrap long annotation lines for readability. False only for an explicitly requested single-line label. | |
| lineStyle | No | ||
| showStats | No | ||
| textColor | No | ||
| arrowStart | No | ||
| extendLeft | No | ||
| showLabels | No | ||
| showPrices | No | ||
| showRatios | No | ||
| extendRight | No | ||
| fillOpacity | No | Shape fill opacity from 0 to 1. | |
| ratioFormat | No | ||
| labelPosition | No | ||
| labelVertical | No |