summaryrefslogtreecommitdiff
path: root/xmlChart.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmlChart.go')
-rw-r--r--xmlChart.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmlChart.go b/xmlChart.go
index 3352e08..5ca3586 100644
--- a/xmlChart.go
+++ b/xmlChart.go
@@ -135,6 +135,12 @@ type attrValInt struct {
Val int `xml:"val,attr"`
}
+// attrValFloat directly maps the val element with float64 data type as an
+// attribute。
+type attrValFloat struct {
+ Val float64 `xml:"val,attr"`
+}
+
// attrValBool directly maps the val element with boolean data type as an
// attribute。
type attrValBool struct {