-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #988 from rashidkpc/master
Remove pie panel, replace with goal panel, closes #795
- Loading branch information
Showing
7 changed files
with
100 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
== Goal | ||
Status: *Stable* | ||
|
||
The goal panel display progress towards a fixed goal on a pie chart | ||
|
||
// src/app/panels/goal/module.js:5 | ||
|
||
=== Parameters | ||
donut:: Draw a hole in the middle of the pie, creating a tasty donut. | ||
// src/app/panels/goal/module.js:46 | ||
|
||
tilt:: Tilt the pie back into an oval shape | ||
// src/app/panels/goal/module.js:51 | ||
|
||
legend:: The location of the legend, above, below or none | ||
// src/app/panels/goal/module.js:55 | ||
|
||
labels:: Set to false to disable drawing labels inside the pie slices | ||
// src/app/panels/goal/module.js:59 | ||
|
||
spyable:: Set to false to disable the inspect function. | ||
// src/app/panels/goal/module.js:63 | ||
|
||
==== Query | ||
|
||
query object:: This confusingly named object has properties to set the terms mode field, | ||
and the fixed goal for the goal mode | ||
query.field::: the field to facet on in terms mode | ||
query.goal::: the fixed goal for goal mode | ||
// src/app/panels/goal/module.js:67 | ||
|
||
==== Queries | ||
|
||
queries object:: This object describes the queries to use on this panel. | ||
queries.mode::: Of the queries available, which to use. Options: +all, pinned, unpinned, selected+ | ||
queries.ids::: In +selected+ mode, which query ids are selected. | ||
// src/app/panels/goal/module.js:76 | ||
|
This file was deleted.
Oops, something went wrong.
26 changes: 1 addition & 25 deletions
26
src/app/panels/pie/editor.html → src/app/panels/goal/editor.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/app/panels/pie/module.html → src/app/panels/goal/module.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.