Merge pull request #4835 from appsmithorg/fix/custom-chart-config-better-doc
fixing docs and expectation strings on custom chart
This commit is contained in:
commit
4cf050147b
|
|
@ -3,7 +3,7 @@ import InputTextControl, { InputText } from "./InputTextControl";
|
|||
|
||||
class CustomFusionChartControl extends InputTextControl {
|
||||
render() {
|
||||
const expected = "{\n type: string,\n dataSource: Object\n}";
|
||||
const expected = '{\n "type": string,\n "dataSource": Object\n}';
|
||||
const { dataTreePath, label, placeholderText, propertyValue } = this.props;
|
||||
return (
|
||||
<InputText
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@ export default [
|
|||
children: [
|
||||
{
|
||||
helpText:
|
||||
"Manually configure a FusionChart, see https://www.fusioncharts.com",
|
||||
placeholderText: `Enter {type: "bar2d","dataSource": {}}`,
|
||||
"Manually configure a FusionChart, see https://docs.appsmith.com/widget-reference/chart#custom-chart",
|
||||
placeholderText: `Enter {"type": "bar2d","dataSource": {}}`,
|
||||
propertyName: "customFusionChartConfig",
|
||||
label: "Custom Fusion Chart Configuration",
|
||||
controlType: "CUSTOM_FUSION_CHARTS_DATA",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user