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/LineSeries.html | 104 ++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 60 deletions(-) (limited to 'doc/Axlsx/LineSeries.html') diff --git a/doc/Axlsx/LineSeries.html b/doc/Axlsx/LineSeries.html index dbc5fa45..4ba5b171 100644 --- a/doc/Axlsx/LineSeries.html +++ b/doc/Axlsx/LineSeries.html @@ -99,15 +99,13 @@
Note: -

-The recommended way to manage series is to use Chart#add_series -

+
+

The recommended way to manage series is to use Chart#add_series

-

-A LineSeries defines the title, data and labels for line charts -

+ +

A LineSeries defines the title, data and labels for line charts

@@ -152,9 +150,8 @@ A LineSeries defines the title, data and labels for line charts -

-The data for this series. -

+
+

The data for this series.

@@ -179,9 +176,8 @@ The data for this series. -

-The labels for this series. -

+
+

The labels for this series.

@@ -226,9 +222,8 @@ The labels for this series. -

-Creates a new series. -

+
+

Creates a new series.

@@ -250,9 +245,8 @@ Creates a new series. -

-Serializes the series. -

+
+

Serializes the series.

@@ -283,9 +277,8 @@ Serializes the series.

-

-Creates a new series -

+ +

Creates a new series

@@ -317,9 +310,8 @@ Creates a new series — -

-a customizable set of options -

+
+

a customizable set of options

@@ -372,13 +364,12 @@ a customizable set of options
# File 'lib/axlsx/drawing/line_series.rb', line 20
 
-def initialize(chart, options={})
-  @labels, @data = nil, nil
-  super(chart, options)
-  @labels = CatAxisData.new(options[:labels]) unless options[:labels].nil?
-  @data = ValAxisData.new(options[:data]) unless options[:data].nil?
-end
-
+def initialize(chart, options={}) + @labels, @data = nil, nil + super(chart, options) + @labels = CatAxisData.new(options[:labels]) unless options[:labels].nil? + @data = ValAxisData.new(options[:data]) unless options[:data].nil? +end @@ -401,9 +392,8 @@ a customizable set of options

-

-The data for this series. -

+ +

The data for this series.

@@ -437,10 +427,9 @@ The data for this series.
# File 'lib/axlsx/drawing/line_series.rb', line 10
 
-def data
-  @data
-end
-
+def data + @data +end @@ -458,9 +447,8 @@ The data for this series.

-

-The labels for this series. -

+ +

The labels for this series.

@@ -494,10 +482,9 @@ The labels for this series.
# File 'lib/axlsx/drawing/line_series.rb', line 14
 
-def labels
-  @labels
-end
-
+def labels + @labels +end @@ -519,9 +506,8 @@ The labels for this series.

-

-Serializes the series -

+ +

Serializes the series

@@ -540,9 +526,8 @@ Serializes the series — -

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

+
+

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

@@ -579,13 +564,12 @@ The document builder instance this objects xml will be added to.
# File 'lib/axlsx/drawing/line_series.rb', line 30
 
-def to_xml(xml)
-  super(xml) do |xml_inner|
-    @labels.to_xml(xml_inner) unless @labels.nil?
-    @data.to_xml(xml_inner) unless @data.nil?
-  end      
-end
-
+def to_xml(xml) + super(xml) do |xml_inner| + @labels.to_xml(xml_inner) unless @labels.nil? + @data.to_xml(xml_inner) unless @data.nil? + end +end @@ -596,9 +580,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3