summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/chart2
Commit message (Collapse)AuthorAgeFilesLines
* tdf#125444 Percentage as custom chart labelTamas Bunth2020-01-061-2/+3
| | | | | | | | | | | | | Support importing ooxml charts with a field of type "PERCENTAGE" as custom label. Change-Id: Ie8931f77e3b6199d98635422d11d776e675f6e5c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86067 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86118 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Fix typo: s/an other/another/gAndrea Gelmini2018-08-291-1/+1
| | | | | | | | Change-Id: Ifd83affcb16209f4134c725640fbd95077c8ab0f Reviewed-on: https://gerrit.libreoffice.org/59099 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove the GL based 3D chartsMarkus Mohrhard2018-07-172-37/+0
| | | | | | | Change-Id: Ia578c71ae70aa0a85b49fa50138edf90f961b1e9 Reviewed-on: https://gerrit.libreoffice.org/57533 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* tdf#114821 import complex data labels in bar chartSzymon Kłos2018-01-294-0/+110
| | | | | | | | | | | | | | | | | | | | * import static text & fields: VALUE, SERIESNAME, COLUMNNAME * text is formatted * DataPointCustomLabelField with field type (DataPointCustomLabelFieldType) was introduced. * text can have many portions & multiple lines * unit tests for import data labels with formatting Not implemented: CELLREF field support which needs importing some additional data from extLst Shows custom text as a label for data points. Change-Id: Iba8fd508eb16356b05586b93d7b8da32240d2b91 Reviewed-on: https://gerrit.libreoffice.org/48243 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
* tdf#113572: allow switching to data range in copypasted chartVasily Melenchuk2018-01-101-0/+40
| | | | | | | | | | | | | - enable data range toolbar button for charts with internal data table and possiblilty to switch to data range - show warning before destoying data table - recreation of data provider Change-Id: I2a08b723be80d411e970bfe2ee53dee7d3d52faa Reviewed-on: https://gerrit.libreoffice.org/44605 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Fix typoAndrea Gelmini2017-11-221-1/+1
| | | | | | | Change-Id: I591214b246f7702e52f71b95cdc2255bc296224b Reviewed-on: https://gerrit.libreoffice.org/45063 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2017-08-172-2/+2
| | | | | | | Change-Id: Iaa9c0aea3ea1a239e378bd714ba335f91bb1faf3 Reviewed-on: https://gerrit.libreoffice.org/41194 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Translate German comments and debug strings (leftovers in dirs j... to q...)Johnny_M2017-06-121-1/+1
| | | | | | | | | | | | | Translates all (leftovers) found using a custom regex, in directories not shown by /bin/find-german-comments and beginning with "j" to "q". Additionally: - A few spelling fixes Change-Id: I5abf71dde3efc0dbaad162c705c6dc17af50f6c1 Reviewed-on: https://gerrit.libreoffice.org/38613 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* remove unneeded @since tags from added pivot chart UNO interfacesTomaž Vajngerl2017-05-031-18/+0
| | | | | | | Change-Id: Iafeeedbc617d0824d8f384f8515faea35a3e419f Reviewed-on: https://gerrit.libreoffice.org/37211 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* remove empty commentsNoel Grandin2017-05-0323-108/+3
| | | | | | | | | | | | found with: git ls-files | xargs grep -Pzl '/\*\* (\*|\s| )*\*/' Change-Id: I1f47bcb94d5a7b290a6c622c6941195fbb578597 Reviewed-on: https://gerrit.libreoffice.org/37159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#107145 display applied filters for page field in pivot chartTomaž Vajngerl2017-05-011-0/+7
| | | | | | | | | | | | Add field output description which shows the description of the filtered output, which can be either "- all -" when nothing is filtered, "- multiple -" when multiple values are outputted or the specific value - the only value remaining. Change-Id: I8fca6050dabba9878e9f3a31e4be7a03e3b87467 Reviewed-on: https://gerrit.libreoffice.org/37125 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* tdf#107097 invoke internal DP and correctly handle "range" namesTomaž Vajngerl2017-04-291-0/+4
| | | | | | | | | | | | | | | | | | When we copy/paste a pivot chart to another (new) document, we "send" a chart data as ODC to the other document. In the new document we can't use the pivot table (as there is none in this document) so we read-in the table data from the document to the internal data provider. The problem was that we didn't match the (fake) range names from the pivot table correctly in the internal data provider and the data wasn't populated. This commit fixes that and changes the fake range names to something that is easy to parse and matches the names in internal data provider. Change-Id: I9872160cca68abd91738a25bf9b3b27bc77ce38d Reviewed-on: https://gerrit.libreoffice.org/37086 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* tdf#107068 add arrow to the buttons, mark if field is filteredTomaž Vajngerl2017-04-221-0/+15
| | | | | | | Change-Id: Iba0b4c2ce3ab84229d388a7cb2d20db1f47c0b57 Reviewed-on: https://gerrit.libreoffice.org/36738 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
* pivotcharts: display pivot table fields in correct orderTomaž Vajngerl2017-04-191-0/+2
| | | | | | | Change-Id: I97d3391d6d9d59626bace2ce0cf2b5d9b45d9261 Reviewed-on: https://gerrit.libreoffice.org/36627 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* tdf#83257 [API-CHANGE] Pivot chart implementationTomaž Vajngerl2017-04-044-57/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squashed commit of the pivot chart implementation. Some of the changes: - Add pivot chart specific (pivot table) data provider which provides the data from a pivot table to the associated chart. - When inserting a chart and the cursor is in a pivot table, in that case insert a pivot chart - Modify the pivot chart when the pivot table changes - Collect and set the number format for the values - isDataFromSpreadsheet check for the creation wizard - In ChartView (and VLegend) check if the data provider is a pivot chart data provider and get the pivot table field names to create the buttons on the UI. - Adds the functionallity to show a filter pop-up (from calc) when clicking on row / column / page field buttons. - Remove (X)PopupRequest as we won't need it. - Add ODF import/export for pivot charts: + Added loext:data-pilot-source attribute on chart:chart which is the internal name of the pivot table with which the pivot chart is associated with. If the element is present, then the it means the chart is a pivot chart, else it is a normal chart + Added service to create pivot chart data provider through UNO + Add new methods to XPivotChartDataProvider to create value and label data sequences separately from the data source, which is needed for pivot chart import + When importing defer setting the data provider until a later time when we know if we are creating a chart od a pivot chart - Pivot chart ODF round-trip test - Add table pivot chart supplier API: This adds the XTablePivotChartSupplier and related interfaces so we can access, create, delete pivot charts from UNO in a sheet document. With this we now distinguish between normal charts and pivot charts. This was mainly needed because we can't extend the "published" interfaces of TableChartSupplier. - Added an extensive test, which uses the API to create a new pivot chart when there was none, and checks that the pivot chart updates when the pivot table updates. Change-Id: Ia9ed96fd6b1d342e61c2f7f9fa33a5e03dda21af Reviewed-on: https://gerrit.libreoffice.org/36023 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
* Missing @since tagsStephan Bergmann2017-02-142-1/+3
| | | | | | | ...after 8cc8ffdb04f9915c5b7dddd619ef89762c7a40c2 "[API CHANGE] Add PopupRequest - a callback to open a pop-up win. in calc" Change-Id: I94be25141fdc415c8cc45c8a2f1be9ee69d23f2c
* comment XPopupRequest APITomaž Vajngerl2017-02-132-0/+5
| | | | | | | Change-Id: I7a539bce74bba7b299ae75a2525a2c0d1249894a Reviewed-on: https://gerrit.libreoffice.org/34189 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* [API CHANGE] Add PopupRequest - a callback to open a pop-up win. in calcTomaž Vajngerl2017-02-123-0/+85
| | | | | | | Change-Id: Iea600e229deb69d1638a1a649008fc4738a5934a Reviewed-on: https://gerrit.libreoffice.org/34005 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
* Start tdf#100547 Trendline equation: customize X, Y namesLaurent Balland-Poirier2016-08-162-0/+10
| | | | | | | | | | | | Change trend line UI to add fields: X name and Y name to change "x" and "f(x)" in equation representation Next to be done: save it to ODF file Change-Id: I0680ee1bbfbbb74016ecc858917e10d6790ac63a Reviewed-on: https://gerrit.libreoffice.org/27069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
* tdf#94004 Trendline: wrap equation to fit in chart areaLaurent Balland-Poirier2016-05-221-2/+4
| | | | | | | | | | | | | | | | | If equation is too long compared to chart width: equation is wrapped and if equation has General format, the number of digits is reduced In this patch, only polynomial equation is treated. If this approach is ok, I will extend to other regression curves. Conflicts: chart2/source/view/charttypes/VSeriesPlotter.cxx Change-Id: I1bfd897881d752655faec6df034c0dde7f78c51b Reviewed-on: https://gerrit.libreoffice.org/18397 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Fix typosAndrea Gelmini2016-05-011-1/+1
| | | | | | | Change-Id: Ifb7c33d6052efe5ea8a1e0e10b3178073cd29ca0 Reviewed-on: https://gerrit.libreoffice.org/24536 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* offapi: fix the ASCII art in chart2.CurveStyleMichael Stahl2016-02-151-0/+12
| | | | Change-Id: I3a4097abe5887f0859ea11ac2025cf52689dc4e4
* offapi: fix more doxygen warningsMichael Stahl2016-02-054-2/+14
| | | | Change-Id: I55f4c0388b99cfebe647be1c35a9fd4bb2acf7ce
* tdf#88154 workaround and unit testMarco Cecchetti2015-10-071-0/+7
| | | | | | | | | Fixed 45-degree layout for axis labels, too. Change-Id: I9764e281aeee0a439fa9eec1e3b0df840221b72f Reviewed-on: https://gerrit.libreoffice.org/18889 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
* Avoid needless incompatible changeStephan Bergmann2015-09-091-0/+2
| | | | | | | | ..in 9ed1dd01be8afa0961e388a79e9ff4c1235820c2 "tdf#90839: support for wrapped text in data labels and for centered data value" by moving the additional optional property to the end; also, add missing @since tags Change-Id: I6f8a6cb22d29ba27a109089892b8df009d1043db
* tdf#90839: support for wrapped text in data labels and for centered data valueMarco Cecchetti2015-09-091-0/+4
| | | | | | | | | | | | | | | | | | Now in a pie chart the text of a label can be wrapped, the wrapping is automatic and the maximum text width is fixed to almost half the pie radius. This feature is used to import correctly the relative text wrapping property provided by MSO. Moreover the data value and percent value of a label are now centered horizontally, respect with the label text. Conflicts: chart2/qa/extras/xshape/chart2xshape.cxx Change-Id: Ie10d6184365436f763cd9693a5bbefcfa9b3862b Reviewed-on: https://gerrit.libreoffice.org/17193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* API CHANGE: remove update() from X3DChartWindowProviderMichael Stahl2015-07-301-2/+0
| | | | | | | | | | Revert the API change from e41c33b376d8b5776e400979eb8544db596c5bbe and use the existing css::util::XUpdatable instead. Change-Id: I3eba4c7def98c8765a970d54a7fe84a320d4313e Reviewed-on: https://gerrit.libreoffice.org/17382 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* reflect the property name changes also in the idl filesMarkus Mohrhard2015-07-281-0/+10
| | | | | | | | DataPoints now support the whole css::drawing::FillProperties properties which makes handling fill properties in chart2 a lot easier. The new names are just aliases for the old property names. Change-Id: I5b85010fe2557eeb5376de71ff3605b3abbcd488
* Improve method descriptions.Kohei Yoshida2014-10-091-9/+20
| | | | Change-Id: I25074578607dedaec9689dff9a6bb9c2fa7be56b
* the DUMMY_CHART_FACTORY variable is not the only indicator for OpenGl chartsMarkus Mohrhard2014-08-291-0/+4
| | | | Change-Id: Idab33c8611526dc4749b4dbe4fe84e68138b4f73
* bnc#812796: Correctly handle static value array for OOXML charts.Kohei Yoshida2014-07-021-0/+3
| | | | | | | | | | | | We need to pass the role of the data sequence in order to avoid unreliable guess work when importing static value array. Also, not all Excel's scatter plots have real numeric X values; some have textural X values in which case Excel switch to generating 1, 2, 3, ... as X values. When importing to our chart implementation, using "categories" role in such cases instead of "values-x" results in a more faithful chart rendering. Change-Id: If4bc1f650bb024dcd1b1b36537f457fb38404a78
* fdo#79676: Initialize with a default chart only from the UI.Kohei Yoshida2014-06-101-0/+4
| | | | | | | | | When creating an embedded chart object during import, we don't want to create a default chart which would only mess up the chart data. With this change, ChartModel::initNew() is a no-op. Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc
* make sure that OpenGL charts are rendered after importMarkus Mohrhard2014-05-241-0/+2
| | | | Change-Id: I3701a7593d7394abc39532a87b9aa50a3c92d457
* idl: fix some include guardsThomas Arnhold2014-05-161-2/+2
| | | | Change-Id: I6f306ba26d888a617aae89d29fc80acd00bd71d8
* provide the OpenGL windowMarkus Mohrhard2014-05-071-0/+33
| | | | | | | | | | | | | | | | This approach looks much better. We get size and position correct without much work and can easily plug the window into the sc window hierarchy. We still have a crash on exit as the ScGridWindow goes out of scope and the SystemChildWindow is still alive. We need to fix it and bind the lifecycle of the SystemChildWindow to ScGridWindow. Another open item is the OpenGL context work. Right now it looks like the best way forward is to create a subclass of SystemChildWindow that contains the OpenGLContext. Change-Id: Ie0a74531e1b818cea92912345464c8fa219bbae2
* add missing modelines to idl filesThomas Arnhold2014-04-241-0/+3
| | | | Change-Id: If52651c70ee659c83ef127da4fe5e266cfe7eec2
* It's "its", not "it's"Tor Lillqvist2014-04-102-4/+4
| | | | Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
* typo: mappong -> mappingAndras Timar2014-03-131-1/+1
| | | | Change-Id: I9c1644afa687ecde47271bbe9bfc8a51fe541cb5
* don't hardcode property mapping, read them from chart2::XChartTypeMarkus Mohrhard2014-03-091-0/+6
| | | | Change-Id: I7889dbddab603d7650d58a04f53e7c5fe38fcce2
* fdo#74112 Preserve Chart displayunits properties during ODF import/export.sushil_shinde2014-02-111-0/+12
| | | | | | | Change-Id: I38508b71ee5b3b966e1d36b0d253304fe17c0ec0 Reviewed-on: https://gerrit.libreoffice.org/7721 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Try to fix a warning during buildingJulien Nabet2014-02-101-4/+1
| | | | | | by disambiguating comment ending for the parser Change-Id: I3432d4d034f10e81ce493acf8a952b200bde95a1
* give up with the nice solutions and enjoy the ugly hackMarkus Mohrhard2014-01-291-1/+3
| | | | | | | I was always hitting a corner case so it seems that this need some drastic measures. Change-Id: I3fdd278b9c3fed178513d653ef24ad8adf20cbd2
* some improvements for the time based chartingMarkus Mohrhard2014-01-291-0/+7
| | | | | | The updating seems to work. It just does not update the references yet. Change-Id: I0a971dbe2beb113c1c3e9ef103d77d5d8c7174a0
* time based charting calc sideMarkus Mohrhard2014-01-291-0/+30
| | | | Change-Id: I0d5963a691e4495ee14e4d1228ea0ba2b1dd66d7
* fdo#72520 : Added property to store external data path in chart.sushil_shinde2014-01-161-0/+3
| | | | | | | | | - added new property entry to store xlsx external data for chart. Change-Id: I3695865ad7e888359d1048e9bc380cba26108636 Reviewed-on: https://gerrit.libreoffice.org/7212 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* fdo#72304 Preserve Chart data table properties during ODF import/export.Nikhil Walvekar2013-12-191-0/+6
| | | | Change-Id: I767bb32fdaddcaf742923055cc86bb19138b42be
* Fix UNOIDL interface method parameter identifiersStephan Bergmann2013-09-041-2/+2
| | | | | | | | | | | UNOIDL identifiers starting with a lowercase letter and containing underscores are reserved for the implementation. It would be good to be able to enforce that in code parsing UNOIDL files, but some existing identifiers violate that. So at least change any violating method parameter identifiers here. While that is theoretically an incompatible change for published interfaces, it practically does not matter at all. Change-Id: I5eff17b5dd5e2e92984184127c4fe1712d62c9dd
* Fix idl: no ResultSet attribute so remove "#"Julien Nabet2013-08-201-1/+1
| | | | Change-Id: I8b0025a1dcba5819edbb35395324efaee936eec5
* Fixes to compiler errors, setRegressionProperties description.Tomaž Vajngerl2013-07-031-0/+16
| | | | Change-Id: I40ef93746e5f2a43ce58f0080db0b643e22404a1
* Force intercept for polynomial regression & dialog improvementsTomaž Vajngerl2013-07-031-1/+2
| | | | Change-Id: I2f712d8b95b5fdeb05b93b5247aab9772a00cc70