From 058faf2581970fa18c314ad07f5658adeca32c69 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 22:08:55 +0900 Subject: update to README --- doc/Axlsx/CatAxis.html | 161 +++++++++++++++++++++---------------------------- 1 file changed, 68 insertions(+), 93 deletions(-) (limited to 'doc/Axlsx/CatAxis.html') diff --git a/doc/Axlsx/CatAxis.html b/doc/Axlsx/CatAxis.html index 2795d665..f7fa02ab 100644 --- a/doc/Axlsx/CatAxis.html +++ b/doc/Axlsx/CatAxis.html @@ -96,9 +96,8 @@

Overview

-

-A CatAxis object defines a chart category axis -

+ +

A CatAxis object defines a chart category axis

@@ -114,9 +113,8 @@ A CatAxis object defines a chart category axis
LBL_OFFSET_REGEX =
-

-regex for validating label offset -

+ +

regex for validating label offset

@@ -126,8 +124,7 @@ regex for validating label offset
-
/0*(([0-9])|([1-9][0-9])|([1-9][0-9][0-9])|1000)%/
-
+
/0*(([0-9])|([1-9][0-9])|([1-9][0-9][0-9])|1000)%/
@@ -159,10 +156,9 @@ regex for validating label offset -

-From the docs: This element specifies that this axis is a date or text axis -based on the data that is used for the axis labels, not a specific choice. -

+
+

From the docs: This element specifies that this axis is a date or text axis +based on the data that is used for the axis labels, not a specific choice.

@@ -187,10 +183,9 @@ based on the data that is used for the axis labels, not a specific choice. -

-specifies how the perpendicular axis is crossed must be one of [:ctr, :l, -:r]. -

+
+

specifies how the perpendicular axis is crossed must be one of [:ctr, :l, +:r].

@@ -215,9 +210,8 @@ specifies how the perpendicular axis is crossed must be one of [:ctr, :l, -

-The offset of the labels must be between a string between 0 and 1000. -

+
+

The offset of the labels must be between a string between 0 and 1000.

@@ -262,9 +256,8 @@ The offset of the labels must be between a string between 0 and 1000. -

-Creates a new CatAxis object. -

+
+

Creates a new CatAxis object.

@@ -286,9 +279,8 @@ Creates a new CatAxis object. -

-Serializes the category axis. -

+
+

Serializes the category axis.

@@ -314,9 +306,8 @@ Serializes the category axis.

-

-Creates a new CatAxis object -

+ +

Creates a new CatAxis object

@@ -335,9 +326,8 @@ Creates a new CatAxis object — -

-the id of this axis. Inherited -

+
+

the id of this axis. Inherited

@@ -352,9 +342,8 @@ the id of this axis. Inherited — -

-the id of the perpendicular axis. Inherited -

+
+

the id of the perpendicular axis. Inherited

@@ -371,9 +360,8 @@ the id of the perpendicular axis. Inherited — -

-a customizable set of options -

+
+

a customizable set of options

@@ -396,9 +384,8 @@ a customizable set of options - —

-Inherited -

+ —
+

Inherited

@@ -408,9 +395,8 @@ Inherited - —

-Inherited -

+ —
+

Inherited

@@ -420,9 +406,8 @@ Inherited - —

-Inherited -

+ —
+

Inherited

@@ -473,13 +458,12 @@ Inherited
# File 'lib/axlsx/drawing/cat_axis.rb', line 31
 
-def initialize(axId, crossAx, options={})
-  self.auto = true
-  self.lblAlgn = :ctr
-  self.lblOffset = "100%"
-  super(axId, crossAx, options)
-end
-
+def initialize(axId, crossAx, options={}) + self.auto = true + self.lblAlgn = :ctr + self.lblOffset = "100%" + super(axId, crossAx, options) +end @@ -502,10 +486,9 @@ Inherited

-

-From the docs: This element specifies that this axis is a date or text axis -based on the data that is used for the axis labels, not a specific choice. -

+ +

From the docs: This element specifies that this axis is a date or text axis +based on the data that is used for the axis labels, not a specific choice.

@@ -539,10 +522,9 @@ based on the data that is used for the axis labels, not a specific choice.
# File 'lib/axlsx/drawing/cat_axis.rb', line 7
 
-def auto
-  @auto
-end
-
+def auto + @auto +end @@ -560,10 +542,9 @@ based on the data that is used for the axis labels, not a specific choice.

-

-specifies how the perpendicular axis is crossed must be one of [:ctr, :l, -:r] -

+ +

specifies how the perpendicular axis is crossed must be one of [:ctr, :l, +:r]

@@ -597,10 +578,9 @@ specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
# File 'lib/axlsx/drawing/cat_axis.rb', line 12
 
-def lblAlgn
-  @lblAlgn
-end
-
+def lblAlgn + @lblAlgn +end @@ -618,9 +598,8 @@ specifies how the perpendicular axis is crossed must be one of [:ctr, :l,

-

-The offset of the labels must be between a string between 0 and 1000 -

+ +

The offset of the labels must be between a string between 0 and 1000

@@ -654,10 +633,9 @@ The offset of the labels must be between a string between 0 and 1000
# File 'lib/axlsx/drawing/cat_axis.rb', line 17
 
-def lblOffset
-  @lblOffset
-end
-
+def lblOffset + @lblOffset +end @@ -679,9 +657,8 @@ The offset of the labels must be between a string between 0 and 1000

-

-Serializes the category axis -

+ +

Serializes the category axis

@@ -700,9 +677,8 @@ Serializes the category axis — -

-The document builder instance this objects xml will be added to. -

+
+

The document builder instance this objects xml will be added to.

@@ -741,15 +717,14 @@ The document builder instance this objects xml will be added to.
# File 'lib/axlsx/drawing/cat_axis.rb', line 52
 
-def to_xml(xml)
-  xml.send('c:catAx') {
-    super(xml)
-    xml.send('c:auto', :val=>@auto)
-    xml.send('c:lblAlgn', :val=>@lblAlgn)
-    xml.send('c:lblOffset', :val=>@lblOffset)                 
-  }
-end
-
+def to_xml(xml) + xml.send('c:catAx') { + super(xml) + xml.send('c:auto', :val=>@auto) + xml.send('c:lblAlgn', :val=>@lblAlgn) + xml.send('c:lblOffset', :val=>@lblOffset) + } +end @@ -760,9 +735,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3