mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
Correct custom chart help text: use newPlot() (#7557)
This commit is contained in:
@@ -6,7 +6,7 @@ import { EditorPropTypes } from "@/visualizations/prop-types";
|
|||||||
const defaultCustomCode = trimStart(`
|
const defaultCustomCode = trimStart(`
|
||||||
// Available variables are x, ys, element, and Plotly
|
// Available variables are x, ys, element, and Plotly
|
||||||
// Type console.log(x, ys); for more info about x and ys
|
// Type console.log(x, ys); for more info about x and ys
|
||||||
// To plot your graph call Plotly.plot(element, ...)
|
// To plot your graph call Plotly.newPlot(element, ...)
|
||||||
// Plotly examples and docs: https://plot.ly/javascript/
|
// Plotly examples and docs: https://plot.ly/javascript/
|
||||||
`);
|
`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user