summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)AuthorFilesLines
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
2013-11-19fix buildMarkus Mohrhard2-4/+6
Change-Id: I776455675a066dad790bc6beac4aa545186d5192
2013-11-19adapt name of methodMarkus Mohrhard5-10/+15
Change-Id: I02435256f747bb2bff63414735fa5af3b3413e82
2013-11-19some small cosmetic changesMarkus Mohrhard1-4/+13
Change-Id: I2bc8c39f91faf6915c4970a002e4030f81c95bc5
2013-11-19rename DummyShapeFactory to OpenglShapeFactoryMarkus Mohrhard4-35/+37
Change-Id: Ife9640b10e90351f871513f1f8e26d80c384e0d9
2013-11-19add methods to render whole data series at onceMarkus Mohrhard7-1/+136
additionally we have now a method for timebased data series in the shape factory. The method contains the two points in time and the rendering backend should calculate intermitiate points for a good interpolation. Change-Id: Id30e2039ec90a6c36e947b7a7f9bca65ef0e8961
2013-11-19use ChartModel instead of XModel in a few placesMarkus Mohrhard62-492/+797
This allows us easier implementation of some advanced features. Mainly the 4D chartting will now be able to work without several ugly layers of UNO. Change-Id: I74d07229eaef921c508f3bab8fae6d6075ad737a
2013-11-19work on plotting a whole series at onceMarkus Mohrhard1-99/+105
Change-Id: I70a7b22aa30e959ed311348f047e349be38ebcfb
2013-11-19one more newly unused variableMarkus Mohrhard1-2/+0
Change-Id: If24290d1a2fd818d9b6f264abf1b75c941b767fb
2013-11-19remove a few more unnecessary linesMarkus Mohrhard3-5/+1
Change-Id: I44eafb69bf32cb8dbf7d07278a010ca4d812a832