Skip to content

Commit

Permalink
GPII-1601: update pieTitle/pieDescription to svgTitle/svgDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
waharnum committed Mar 3, 2016
1 parent f2345df commit f6be3ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions public/src/js/chartAuthoring.js
Expand Up @@ -66,7 +66,7 @@ https://raw.githubusercontent.com/fluid-project/chartAuthoring/master/LICENSE.tx
listeners: {
"afterFinishEdit.modelChange": {
func: "{pieChart}.applier.change",
args: ["pieTitle", "{arguments}.0"]
args: ["svgTitle", "{arguments}.0"]
}
}
}
Expand All @@ -82,7 +82,7 @@ https://raw.githubusercontent.com/fluid-project/chartAuthoring/master/LICENSE.tx
listeners: {
"afterFinishEdit.modelChange": {
func: "{pieChart}.applier.change",
args: ["pieDescription", "{arguments}.0"]
args: ["svgDescription", "{arguments}.0"]
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions public/src/js/pieChart.js
Expand Up @@ -33,8 +33,8 @@ https://raw.githubusercontent.com/fluid-project/chartAuthoring/master/LICENSE.tx
pieOptions: "{pieChart}.drawingOptions",
model: {
dataSet: "{pieChart}.model.dataSet",
pieTitle: "{pieChart}.model.pieTitle",
pieDescription: "{pieChart}.model.pieDescription",
svgTitle: "{pieChart}.model.svgTitle",
svgDescription: "{pieChart}.model.svgDescription",
activeSliceId: "{pieChart}.model.activeDataId"
},
events: {
Expand Down Expand Up @@ -67,8 +67,8 @@ https://raw.githubusercontent.com/fluid-project/chartAuthoring/master/LICENSE.tx
// dataSet accepts an array of objects in a format of
// [{id: string, value: number, label: string}, ... ]
dataSet: [],
pieTitle: "Pie Chart",
pieDescription: "A pie chart."
svgTitle: "Pie Chart",
svgDescription: "A pie chart."
// activeDataId: relayed to activeRowId/activeSliceId of legend/pie

},
Expand Down

0 comments on commit f6be3ae

Please sign in to comment.