Allow configuration of default colors for graph and calendar
issue9435 review300011002
This commit is contained in:
1 parent
6f9015b416
commit
e97f4e0526
5 files changed
+9
-11
No files matched your search
@@ -1,3 +1,4 @@
|
||||
* Remove default colors on graph and calendar
|
||||
* Add model, record and records attributes on Wizard
|
||||
* Check read access of wizard records
|
||||
* Add cached_property in tools
|
||||
|
||||
@@ -10,10 +10,8 @@ attlist.calendar &=
|
||||
| "week"
|
||||
| "month" }?
|
||||
attlist.calendar &= [a:defaultValue = "1" ] attribute editable { "0" | "1" }?
|
||||
attlist.calendar &=
|
||||
[ a:defaultValue = "black" ] attribute color { text }?
|
||||
attlist.calendar &=
|
||||
[ a:defaultValue = "lightblue" ] attribute background_color { text }?
|
||||
attlist.calendar &= attribute color { text }?
|
||||
attlist.calendar &= attribute background_color { text }?
|
||||
attlist.calendar &=
|
||||
attribute width { text }?
|
||||
attlist.calendar &=
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</define>
|
||||
<define name="attlist.calendar" combine="interleave">
|
||||
<optional>
|
||||
<attribute a:defaultValue="black">
|
||||
<attribute>
|
||||
<name ns="">color</name>
|
||||
<text/>
|
||||
</attribute>
|
||||
@@ -57,7 +57,7 @@
|
||||
</define>
|
||||
<define name="attlist.calendar" combine="interleave">
|
||||
<optional>
|
||||
<attribute a:defaultValue="lightblue">
|
||||
<attribute>
|
||||
<name ns="">background_color</name>
|
||||
<text/>
|
||||
</attribute>
|
||||
|
||||
@@ -4,9 +4,8 @@ graph = element graph { attlist.graph, x*, y* }
|
||||
attlist.graph &=
|
||||
[ a:defaultValue = "vbar" ]
|
||||
attribute type { "vbar" | "hbar" | "line" | "pie" }?
|
||||
attlist.graph &=
|
||||
[ a:defaultValue = "#f5f5f5" ] attribute background { text }?
|
||||
attlist.graph &= [ a:defaultValue = "blue" ] attribute color { text }?
|
||||
attlist.graph &= attribute background { text }?
|
||||
attlist.graph &= attribute color { text }?
|
||||
attlist.graph &=
|
||||
[ a:defaultValue = "1" ] attribute legend { "0" | "1" }?
|
||||
x = element x { attlist.x, field }
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
</define>
|
||||
<define name="attlist.graph" combine="interleave">
|
||||
<optional>
|
||||
<attribute a:defaultValue="#f5f5f5">
|
||||
<attribute>
|
||||
<name ns="">background</name>
|
||||
<text/>
|
||||
</attribute>
|
||||
@@ -36,7 +36,7 @@
|
||||
</define>
|
||||
<define name="attlist.graph" combine="interleave">
|
||||
<optional>
|
||||
<attribute a:defaultValue="blue">
|
||||
<attribute>
|
||||
<name ns="">color</name>
|
||||
<text/>
|
||||
</attribute>
|
||||
|
||||
Reference in new issue
Block a user