mirror of
https://github.com/apache/superset.git
synced 2026-06-01 13:49:21 +00:00
fix: Line Chart Annotation Info Update (#19001)
* fix Line Chart Annotation Info Updage * wrap annotation text with transation * resolve comment
This commit is contained in:
@@ -385,11 +385,13 @@ export default class AnnotationLayer extends React.PureComponent {
|
||||
description = 'Select the Annotation Layer you would like to use.';
|
||||
} else {
|
||||
label = t('Chart');
|
||||
description = `Use a pre defined Superset Chart as a source for annotations and overlays.
|
||||
your chart must be one of these visualization types:
|
||||
[${this.getSupportedSourceTypes(annotationType)
|
||||
.map(x => x.label)
|
||||
.join(', ')}]`;
|
||||
description = t(
|
||||
`Use another existing chart as a source for annotations and overlays.
|
||||
Your chart must be one of these visualization types: [%s]`,
|
||||
this.getSupportedSourceTypes(annotationType)
|
||||
.map(x => x.label)
|
||||
.join(', '),
|
||||
);
|
||||
}
|
||||
} else if (annotationType === ANNOTATION_TYPES.FORMULA) {
|
||||
label = 'Formula';
|
||||
|
||||
Reference in New Issue
Block a user