Skip to content

Commit 79693eb

Browse files
authored
docs: remove RTL code example with arabic characters from JSDoc (#5470)
1 parent 82fd2b2 commit 79693eb

2 files changed

Lines changed: 0 additions & 32 deletions

File tree

‎packages/charts/src/vaadin-chart.d.ts‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -364,22 +364,6 @@ export type ChartEventMap = ChartCustomEventMap & HTMLElementEventMap;
364364
* 2. Set `useHTML` to true for text elements, i.e. `tooltip` (https://api.highcharts.com/highcharts/tooltip.useHTML).
365365
* 3. Set `rtl` to true for `legend` (https://api.highcharts.com/highcharts/legend.rtl).
366366
*
367-
* Using as a base the project created with in Quick Start and an `additionalOptions` in order to make RTL adjustments:
368-
*
369-
* ```html
370-
* <vaadin-chart title="۱- عنوان نمودار" subtitle="۲- عنوان فرعی نمودار"
371-
* additional-options='{"title": {"useHTML": true}, "tooltip": {"useHTML": true}, "subtitle": {"useHTML": true},
372-
* "legend": {"rtl": true}, "yAxis": [{"id": "۴- مقادیر", "title": {"text": "۴- مقادیر", "useHTML": true}}],
373-
* "xAxis": {"reversed": true}}'>
374-
* <vaadin-chart-series
375-
* type= "column"
376-
* title="۳- عنوان ردیف"
377-
* unit="۴- مقادیر"
378-
* values="[10,20,30]">
379-
* </vaadin-chart-series>
380-
* </vaadin-chart>
381-
* ```
382-
*
383367
* ### Setting colors
384368
*
385369
* Although charts can be styled as described above, there is a simpler way for setting colors.

‎packages/charts/src/vaadin-chart.js‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -184,22 +184,6 @@ Highcharts.setOptions({ lang: { noData: '' } });
184184
* 2. Set `useHTML` to true for text elements, i.e. `tooltip` (https://api.highcharts.com/highcharts/tooltip.useHTML).
185185
* 3. Set `rtl` to true for `legend` (https://api.highcharts.com/highcharts/legend.rtl).
186186
*
187-
* Using as a base the project created with in Quick Start and an `additionalOptions` in order to make RTL adjustments:
188-
*
189-
* ```html
190-
* <vaadin-chart title="۱- عنوان نمودار" subtitle="۲- عنوان فرعی نمودار"
191-
* additional-options='{"title": {"useHTML": true}, "tooltip": {"useHTML": true}, "subtitle": {"useHTML": true},
192-
* "legend": {"rtl": true}, "yAxis": [{"id": "۴- مقادیر", "title": {"text": "۴- مقادیر", "useHTML": true}}],
193-
* "xAxis": {"reversed": true}}'>
194-
* <vaadin-chart-series
195-
* type= "column"
196-
* title="۳- عنوان ردیف"
197-
* unit="۴- مقادیر"
198-
* values="[10,20,30]">
199-
* </vaadin-chart-series>
200-
* </vaadin-chart>
201-
* ```
202-
*
203187
* ### Setting colors
204188
*
205189
* Although charts can be styled as described above, there is a simpler way for setting colors.

0 commit comments

Comments
 (0)