From 6739c249e7bf3cf7d2132b2aa49b6faf6bebec29 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Wed, 23 Nov 2011 12:28:10 +0900 Subject: -refactoring chart position and axis data/category for chart. -additional specs and documentation improvements. --- doc/Axlsx/GraphicFrame.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'doc/Axlsx/GraphicFrame.html') diff --git a/doc/Axlsx/GraphicFrame.html b/doc/Axlsx/GraphicFrame.html index f7e91018..0c328ab9 100644 --- a/doc/Axlsx/GraphicFrame.html +++ b/doc/Axlsx/GraphicFrame.html @@ -329,12 +329,14 @@ Creates a new GraphicFrame object 24 25 26 -27 +27 +28
# File 'lib/axlsx/drawing/graphic_frame.rb', line 24
 
 def initialize(anchor, chart_type, options)
+  DataTypeValidator.validate "Drawing.chart_type", Chart, chart_type 
   @anchor = anchor
   @chart = chart_type.new(self, options)
 end
@@ -586,7 +588,6 @@ The document builder instance this objects xml will be added to.
       
 
 
-36
 37
 38
 39
@@ -603,10 +604,11 @@ The document builder instance this objects xml will be added to.
 50
 51
 52
-53
+53 +54
-
# File 'lib/axlsx/drawing/graphic_frame.rb', line 36
+      
# File 'lib/axlsx/drawing/graphic_frame.rb', line 37
 
 def to_xml(xml)
   xml.send('xdr:graphicFrame') {        
@@ -637,7 +639,7 @@ The document builder instance this objects xml will be added to.
 
     
     
-- 
cgit v1.2.3