Directives
Directives allow precise control over all aspects of your visualization
Directives can be added to your SQL source code, or with the visual Directives Editor. See the reference of the various available Directives
Directives in SQL Code
Directives are specified as a SQL comment (any line starting wtih --) followed by '@' symbol and the directive name, followed by a colon:
Directives Editor
From any open SQL script, you can visually edit the directives. This allows you play with different directives. When you change directives in the editor, they are automatically updated in the SQL source code.
Directive Comments
When developing, sometimes you may wish to quickly toggle on/off the directive without removing it from your source code. ChartSQL supports "directive comments" which will disable that directive.
You comment a directive by adding two forward slashed directly before the @ symbol
Last updated