# lcd.drawChannel

Draws channel value defined in source variable at (x,y)

### Syntax

#### lcd.drawChannel(x, y, source \[, flags])

### Parameters

<table><thead><tr><th width="109">Name</th><th width="66" data-type="checkbox">Req</th><th width="206">Type<select multiple><option value="geKhkYtcPJp7" label="integer" color="blue"></option><option value="yo0OLIWLoPV1" label="string" color="blue"></option><option value="3Ue3LVDEDMIi" label="boolean" color="blue"></option><option value="zz1EdkzHHpjF" label="sourceListID (integer)" color="blue"></option><option value="KmQkeSxb6Yub" label="sourceName (string)" color="blue"></option><option value="CM9F3luDxJTJ" label="drawingFlag (integer)" color="blue"></option></select></th><th>Description</th></tr></thead><tbody><tr><td>x</td><td>true</td><td><span data-option="geKhkYtcPJp7">integer</span></td><td>top coordinate</td></tr><tr><td>y</td><td>true</td><td><span data-option="geKhkYtcPJp7">integer</span></td><td>left coordinate</td></tr><tr><td>source</td><td>true</td><td><span data-option="KmQkeSxb6Yub">sourceName (string), </span><span data-option="zz1EdkzHHpjF">sourceListID (integer)</span></td><td>can be a source identifier (number) or a source name (string). See getValue()</td></tr><tr><td>flags</td><td>false</td><td><span data-option="CM9F3luDxJTJ">drawingFlag (integer)</span></td><td>See <a href="/pages/Px79hTRdzxQHTLRLGxCO">Drawing Flags</a></td></tr></tbody></table>

### Returns

none

### Notes

### Available on

* [x] [B\&W LCD radios](/overview/radios.md#radios-with-b-and-w-lcd-screen)
* [x] [Grayscale LCD radios](/overview/radios.md#radios-with-grayscale-lcd-screen)
* [x] [Color LCD radios](/overview/radios.md#radios-with-color-lcd-screen)

### API status

<table><thead><tr><th width="166">EdgeTX version</th><th width="573">Action</th></tr></thead><tbody><tr><td>2.3.0</td><td>Introduced</td></tr></tbody></table>

### Examples

{% tabs %}
{% tab title="Example 1" %}

```lua
-- example
```

{% endtab %}

{% tab title="Example 2" %}

```lua
-- example
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://luadoc.edgetx.org/lua-api-reference/display-lcd/drawchannel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
