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/ValAxisData.html | 59 +++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 32 deletions(-) (limited to 'doc/Axlsx/ValAxisData.html') diff --git a/doc/Axlsx/ValAxisData.html b/doc/Axlsx/ValAxisData.html index 96fbca5c..93a6c803 100644 --- a/doc/Axlsx/ValAxisData.html +++ b/doc/Axlsx/ValAxisData.html @@ -98,9 +98,8 @@

Overview

-

-The ValAxisData class manages the values for a chart value series. -

+ +

The ValAxisData class manages the values for a chart value series.

@@ -156,9 +155,8 @@ The ValAxisData class manages the values for a chart value series. -

-Serializes the value axis data. -

+
+

Serializes the value axis data.

@@ -213,9 +211,8 @@ Serializes the value axis data.

-

-Serializes the value axis data -

+ +

Serializes the value axis data

@@ -234,9 +231,8 @@ Serializes the value axis data — -

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

+
+

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

@@ -284,24 +280,23 @@ The document builder instance this objects xml will be added to.
# File 'lib/axlsx/drawing/val_axis_data.rb', line 8
 
-def to_xml(xml)
-  xml.send('c:val') {
-    xml.send('c:numRef') {
-      xml.send('c:f', Axlsx::cell_range(@list))
-      xml.send('c:numCache') {
-        xml.send('c:formatCode', 'General')
-        xml.send('c:ptCount', :val=>size)
-        each_with_index do |item, index|
-          v = item.is_a?(Cell) ? item.value : item
-          xml.send('c:pt', :idx=>index) {
-            xml.send('c:v', v) 
-          }
-        end
-      }                        
-    }
-  }
-end
-
+def to_xml(xml) + xml.send('c:val') { + xml.send('c:numRef') { + xml.send('c:f', Axlsx::cell_range(@list)) + xml.send('c:numCache') { + xml.send('c:formatCode', 'General') + xml.send('c:ptCount', :val=>size) + each_with_index do |item, index| + v = item.is_a?(Cell) ? item.value : item + xml.send('c:pt', :idx=>index) { + xml.send('c:v', v) + } + end + } + } + } +end @@ -312,9 +307,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3