[gnumeric] xlsx: write third axis for surface charts.



commit 3c72b9872cf0f1a1b30e27d2a580cdf302426e79
Author: Morten Welinder <terra gnome org>
Date:   Mon Oct 23 15:51:16 2017 -0400

    xlsx: write third axis for surface charts.

 plugins/excel/ChangeLog            |    5 +++++
 plugins/excel/xlsx-write-drawing.c |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index 24a6ba6..fff79ea 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-23  Morten Welinder  <terra gnome org>
+
+       * xlsx-write-drawing.c (xlsx_write_one_plot): Recognize the third
+       axis.
+
 2017-10-21  Morten Welinder  <terra gnome org>
 
        * xlsx-read-drawing.c (dtd): Add stubs for floor, sidewall, and
diff --git a/plugins/excel/xlsx-write-drawing.c b/plugins/excel/xlsx-write-drawing.c
index 24bda5f..a1693bb 100644
--- a/plugins/excel/xlsx-write-drawing.c
+++ b/plugins/excel/xlsx-write-drawing.c
@@ -1003,6 +1003,7 @@ xlsx_write_one_plot (XLSXWriteState *state, GsfXMLOut *xml,
 
        case XLSX_PT_GOGCONTOURPLOT:
        case XLSX_PT_XLCONTOURPLOT:
+               axis_type[2] = GOG_AXIS_PSEUDO_3D;
                gsf_xml_out_start_element (xml, "c:surfaceChart");
                break;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]