Skip to content

Commit

Permalink
New prop "chartType" for field.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoluteur committed Feb 3, 2019
1 parent 796f645 commit 467570a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Models describe objects with fields and collections. Fields can be grouped.
| height | For fields of type "textmultiline", number of lines used in the field (in Browse and Edit views). |X||
| width | Field width in Browse and Edit views (in percent of parent width). |X||
| help | Optional help on the field. |X||
| chartType | Default charts type. Possible values: "Pie", "Bars", "Table". |X||
| noCharts | Prevent the field to have a charts (only necessary for fields of type integer, decimal, money, boolean, list of values which are "chartable"). |X|X|
| column | Database column name for the field ||X|
| lovtable | Table to join to for field value (only for fields of "lov" type). ||X|
Expand Down
1 change: 1 addition & 0 deletions models/tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const fields = [
inMany: true,
help: 'LOV ',
object: 'test',
chartType: 'Pie',
},
{
id: "lovlc", type: "lov",
Expand Down

0 comments on commit 467570a

Please sign in to comment.