summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)AuthorFilesLines
2014-03-19the type in the Any is a util::Date and not a DateTime, fdo#74549Markus Mohrhard1-3/+3
Either that was always broken or it is a recent regression that operator>>= does not convert from Date to DateTime. Change-Id: Ic948224c139ed84b3fe006385fcafd6ce16c30f1 (cherry picked from commit 22c7da0ca5438b69165609db2a1ef219aa167dc2) Reviewed-on: https://gerrit.libreoffice.org/8652 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-11fix negative error bar range export, fdo#75510Markus Mohrhard1-1/+1
Change-Id: Icca2f9fc26b15b968a940e5c73f7ad3781f75e94 (cherry picked from commit 7470b3ef17570581fe590a4853de59cac1be6ea5) Reviewed-on: https://gerrit.libreoffice.org/8535 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-03-07fdo#75538 R^2 calculation of trendline similar to LINEST functionLaurent Balland-Poirier1-5/+3
Modify for forced intercept of trendline, calculation of R^2 in the same way as LINEST function does calculation Update fo 4.2 Change-Id: I06ba4e7f5e07f7db150e1bf1070870bf64ad6f61 Reviewed-on: https://gerrit.libreoffice.org/8462 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-02-10fdo#73374 Trendline: correct R^2 for forced interceptLaurent Balland-Poirier1-1/+14
In case of forced intercept, R^2 must be calculated in a different way. This patch calculates R^2 of trend line in the same way as LINEST function. Change-Id: I3ac361f014569261f05d513acb3428de5c7641ab Reviewed-on: https://gerrit.libreoffice.org/7326 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 9e67015be6e9e53e19466117d692de17c18463da) Reviewed-on: https://gerrit.libreoffice.org/7956 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-01-10fdo#72005: Insert the border rectangle to the bottom of the stack.Kohei Yoshida6-31/+47
This will make the border and fill shape to be drawn first, then everything else drawn on top. This commit may look large, but it's actually a very trivial change. The important part is in SvxShapeGroup where new methods have been added to allow different insertion positions for the new shapes being inserted, and have the chart2 code make use of it to insert the fill rectangle to the bottom rather than to the top. (cherry picked from commit 10840ad753b60886ea5175060cb0ec2a77e1579a) (cherry picked from commit d1846cd8d4530d620b996f27a0ea7ab0c91639b5) Change-Id: I999160daf6fc9ce3d7e641f57b1998543df1cc4e Reviewed-on: https://gerrit.libreoffice.org/7379 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-12-16initial install-package-foo target for partial installsBjoern Michaelsen1-1/+1
make packageinfo target add uiconfig file translations add missing l10n config files add missing help files in packageinfo Reviewed-on: https://gerrit.libreoffice.org/6754 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Conflicts: helpcontent2 translations a2498a118e729276a78ef3a4eb43b5d0b302d326 9bb39bdd677af4be0da621370c51eb9e22ecc33f a7e654cdeffd832f51016ff51aa180fe3924ff4e 4ee41fdb600cb3a89da387dffe64e6a30192761c 349fb24a388775c58be7a326832b3fc0ec38180f 8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06 Change-Id: Id5f6f5c1f3e46df2d9033ccd5bbf2af6ab38a9e8 Reviewed-on: https://gerrit.libreoffice.org/6982 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-12-14fdo#40316 Remove SpinButton in UI for extrapolate trendlineLaurent Balland-Poirier3-39/+27
UI Trendline: Spinbutton are not adapted for real value of x-values used in extrapolate For/Back-ward. Replaced with FormattedFiled like Intercept value Change-Id: Idc49f842a0f76906eb3c027e15a493e625c3d535 Reviewed-on: https://gerrit.libreoffice.org/7067 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2013-12-10fdo#40315 Improve text for moving average trendlineLaurent Balland-Poirier4-3/+23
Change text in status bar for moving average trendline: no equation, no R² Change-Id: I0e18a72ff1f1d78e3bb28cab4d5f215c096898dc Reviewed-on: https://gerrit.libreoffice.org/7015 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2013-12-10WaE: unused variable 'aService' [loplugin]Tor Lillqvist1-1/+0
Change-Id: Ifc907dad0849f17aec728b9f0e85d44048755a14 (cherry picked from commit 6e0e5503a998b6b0996d1f8013cdd963576b840e)
2013-12-09More clearly name the trendline in chart's element selection box.Tomaž Vajngerl4-20/+84
Change-Id: I5f787eb064524a3b2399d591866a5b8cbdee6294
2013-12-09Display correct equation with multiple trendlines in chart.Tomaž Vajngerl3-1/+34
When there were multiple trendlines for one data series and one was selected, always the equation and R^2 of the first trendline was displayed in status bar. Change-Id: I320261e129c51bbdd1228173ca2f1d8447fdcb89
2013-12-09fdo#72137 Allocate enough points in MovingAverageRegression calc.Tomaž Vajngerl1-19/+18
Change-Id: I9ae058cad678cdb86709a4e40e3d4bd47900d386
2013-12-09fdo#40314 Force intercept only for linear/poly trendlinesLaurent Balland-Poirier1-2/+3
Force intercept option is available only for linear and polynomial trendlines Change-Id: I98f551a51b4d1e85924ce23135588a03fabbea35 Reviewed-on: https://gerrit.libreoffice.org/7001 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2013-12-08fdo#40314 Free value of intercept for trend lineLaurent Balland-Poirier6-41/+68
Intercept value field has been changed to FormattedField to support scientific notation and more than 4 digits after decimal point Change-Id: Idb2d27862ddabcdc96a036d93f1f3498cc6327df Reviewed-on: https://gerrit.libreoffice.org/6904 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2013-12-03Blind fix for sal_Int32/int confusionTor Lillqvist1-1/+1
Change-Id: Ia052922ec323220b8785b1a156e5bc2fbf44c11b (cherry picked from commit 40e98f439f892af47b508968aaa25c2327b97868) Signed-off-by: Thorsten Behrens <thb@documentfoundation.org>
2013-12-03Test trendline properties using an emport -> ixport cycleTomaž Vajngerl2-0/+161
Added a test which checks the preservation of properties for trendlines / regression curves in an export -> import cycle using different file formats - ODS, XLS and XLSX. Change-Id: I59fe6c045f7f503ee074e6a2741fa017756b3018 Reviewed-on: https://gerrit.libreoffice.org/6877 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-12-03Custom name for a trend line (shown in legend).Tomaž Vajngerl9-31/+127
Previously, a trendline name was fixed to a combination of the trendline type and the name of the series. With this it is possible to add a custom name for the trendline, which is shown in the legend. Change-Id: I61eaaf14e6df45088abdf1f3e9c24877d26ae8a7 Reviewed-on: https://gerrit.libreoffice.org/6873 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-12-03Simplify conversion from/to ItemSet/PropertySet for RegressionCurvesTomaž Vajngerl3-355/+139
Change-Id: I5ddf53f984508a88fd02063eb9f81cd05cf627c9 Reviewed-on: https://gerrit.libreoffice.org/6872 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-12-03DRY-cleanup RegressionCurveItemConverterTomaž Vajngerl1-144/+117
Change-Id: I8fb799b2efc81587252161ccadfa1dbd6b096bda Reviewed-on: https://gerrit.libreoffice.org/6871 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-30fdo#40315 Improve UI for moving average trendlineLaurent Balland-Poirier1-0/+12
If moving average trendline is selected, show equation is uncheked, and all options disable Change-Id: Ic25c09b8c8410a12ac9f14cb0ba7833f304053ee Reviewed-on: https://gerrit.libreoffice.org/6796 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/6856
2013-11-30fdo#35712 fdo#40315 fdo#40314 Autoselect trendline typeLaurent Balland-Poirier2-6/+41
Modification of Degree or Period select trendline type Modification of Intercept select option Change-Id: If3a212c381061e831ee4411c8e17fbaf8ca12895 Reviewed-on: https://gerrit.libreoffice.org/6815 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/6855
2013-11-20both help ids end up in the same helpCaolán McNamara1-6/+0
Change-Id: Ia08494cd48a510be53006d6beda14e4b5affbdc2
2013-11-20Convert chart axis scale tab page to widget UI.Olivier Hallot7-793/+821
Obs: -Several widget positioning methods turned useless and were deleted -Corner case related to axis origin untested (couldn't find where it is used) Change-Id: I6a563c89ddcfbff62494ce7726f3e7d6089e6b57 Reviewed-on: https://gerrit.libreoffice.org/6730 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin2-3/+3
Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-19unknown log areaStephan Bergmann1-1/+1
Change-Id: Ideb0742c2c6f3f7ba45af23359d5a653f58b120c
2013-11-19-Werror,-Wunused-functionStephan Bergmann1-0/+2
Change-Id: I337691b4a7548c5c92bc0484c2ef9224ce461ba5
2013-11-19-Werror,-Wunused-functionStephan Bergmann1-82/+0
Change-Id: I4ae45a0809cc57fad3d8e872952aedfead27a518
2013-11-19this only works with c++11Markus Mohrhard1-1/+1
2013-11-19fix tinderboxMarkus Mohrhard1-1/+1
2013-11-19disable building the OpenGL piecesMarkus Mohrhard2-1/+2
2013-11-19fix testsMarkus Mohrhard2-2/+2
Change-Id: Ib090d9a6a007a738a0603d1d0a38d5b274feadcc
2013-11-19fix the windows buildMarkus Mohrhard3-4/+9
Change-Id: Ie3625211a32c41dd0fadf94294bc689aef7b1c24
2013-11-19more windows build fixesMarkus Mohrhard1-0/+6
Change-Id: I79b75bbb193851855328a7dbbd8ab547afe29aec
2013-11-19fix windows buildMarkus Mohrhard4-3/+36
Change-Id: I51942eb3719459abc0353a7fd024784f2c4abdb3
2013-11-19we need to depend on mesa headers for windows & unix without openglMarkus Mohrhard1-0/+5
Change-Id: I0144586864045b5f6091dc49ed7e1e1a73705ce1
2013-11-19removed unused variableMarkus Mohrhard1-1/+0
Change-Id: I74af65aba6d19e39f889a28b15d04f7e293168c5
2013-11-19fix crash in opengl backendMarkus Mohrhard2-1/+19
Change-Id: I1257f4568e55ca545e96bda8a53f272ba8e1f0b0
2013-11-19dbgutil build fixMarkus Mohrhard1-1/+0
Change-Id: I54abcc2a9fbe7d30bdf64d194df1a435d21f24ac
2013-11-19we need to init manually nowMarkus Mohrhard2-6/+11
Change-Id: I1374814e549dcbb33de75ffa118d1eccfd168893
2013-11-19fix lifetime problems of ChartViewMarkus Mohrhard3-3/+9
Change-Id: I99b24b026c50a05f8f3803348c76277e29a45ec7
2013-11-19it builds againMarkus Mohrhard9-2/+496
Change-Id: I969ff5ed6fd979e9fd126e8d0b79a518697e7915
2013-11-19try to make it build on windowsMarkus Mohrhard1-1/+5
Change-Id: I1bc87e1c84926699a80a2bb0a9ee789e92663dfc
2013-11-19add glew and make chartopengl a dynamically loaded libMarkus Mohrhard10-5/+39374
2013-11-19add a few property casesMarkus Mohrhard2-8/+32
Change-Id: Idd77baf2f84550f1a29e5eaf9afb4aa454e79154
2013-11-19add the definition for the shapesMarkus Mohrhard2-5/+160
resolves the linker errors Change-Id: I24d18a4491c8bc4f5839f9245386d0cd2b612cf0
2013-11-19make the shapes explicit in the backendMarkus Mohrhard3-113/+426
Change-Id: Idf92176c66cefde3022cec2990c9711a1b49a111
2013-11-19actually create a dummy root shape objectMarkus Mohrhard1-1/+1
Change-Id: I6251042266f531a28944197bda8d2fab39fce495
2013-11-19make it possible to avoid XShape/XShapes in the backendMarkus Mohrhard2-8/+26
Change-Id: I9aa4b71d12bb6720e2197dc1de6f06c61f27d6ee
2013-11-19implement XMultiPropertySetMarkus Mohrhard2-2/+51
Change-Id: I91878c0883f0de03341eee65f2925ec3beb71889
2013-11-19implement top level shape and method to get itMarkus Mohrhard2-0/+31
This class contains the glcontext Change-Id: If0418cfbfb0486396a75ab274e7b480607f8de6d