← Back to team overview

desktop-packages team mailing list archive

[Bug 899876] Re: Chart columns change meaning although data hasn't changed

 

** Attachment added: "Execute the macro in this document and watch what happens to the chart"
   https://bugs.launchpad.net/bugs/899876/+attachment/2618915/+files/chart.odt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/899876

Title:
  Chart columns change meaning although data hasn't changed

Status in “libreoffice” package in Ubuntu:
  New

Bug description:
  I have a Writer document with a Chart (created in an older version of
  libreoffice/openoffice). The chart data array as seen through the UI
  has one X column and two Y columns.

   When I execute the following macro on it, the X column becomes an Y
  column. That is, the X values are now simply integers from one to the
  row number, and I have three Y columns.

  Sub Main
    docOLES = ThisComponent.getEmbeddedObjects()
    chartOLE = docOLES("Objekt2")
    chartDocument = chartOLE.getEmbeddedObject()
    chartData = chartDocument.getData()
    data = chartData.getData()
    chartData.setData(data)
  End Sub

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: libreoffice 1:3.4.4-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-12.51-generic 2.6.38.8
  Uname: Linux 2.6.38-12-generic i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Sun Dec  4 08:18:49 2011
  SourcePackage: libreoffice
  UpgradeStatus: Upgraded to oneiric on 2011-11-09 (24 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/899876/+subscriptions


References