bito-code-review[bot] commented on PR #37868:
URL: https://github.com/apache/superset/pull/37868#issuecomment-3882558784
<!-- Bito Reply -->
You can update the description in the echart_options control to include a
link to the ECharts documentation. Here's a suggested code snippet for the
change:
**superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/sharedControls.tsx**
```
const echart_options: SharedControlConfig<'JSEditorControl'> = {
type: 'JSEditorControl',
label: t('EChart Options (JS object literals)'),
description: t(
'A JavaScript object that adheres to the ECharts options specification.
' +
'(i.e. { title: { text: "My Chart" }, tooltip: { trigger: "item" } }).
' +
'See [ECharts documentation](https://echarts.apache.org/en/index.html)
for details.',
),
default: '{}',
renderTrigger: true,
validators: [],
};
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]