summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)AuthorFilesLines
2013-07-28reduce use of UniString from ResID ctorCaolán McNamara32-236/+235
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-25n#827332: Charts shrink when there are no legends.Muthu Subramanian1-5/+7
2013-07-22Mark as constTakeshi Abe2-2/+2
Change-Id: I2746b92b1360c3c181879a81f653c44ef609f351
2013-07-19WaE: unused functionTor Lillqvist1-25/+0
Change-Id: Ib89d2f1321c5a926f67ad473c1612b550025cdfc
2013-07-19callcatcher: update unused codeCaolán McNamara3-67/+0
ResId loaders begining to melt away Change-Id: Ied10d95f6561f24b2305d202847b7e7c39eb63c3
2013-07-15HIG spacing and indentsCaolán McNamara4-176/+180
Change-Id: I97888b8659bb978595157e881c18ce51c1482b46
2013-07-15Convert tp_SeriesToAxis.src to tp_SeriesToAxis.uiOlivier Hallot7-355/+469
Change-Id: Ida1be6cc97e2a96537dddd3c8d6dc91c451adf7a Reviewed-on: https://gerrit.libreoffice.org/4906 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-14pow is ambiguousTomaž Vajngerl1-1/+1
Change-Id: Ib63bf0a67f18cf8e2f3705ae8b096c5bdf06edaf
2013-07-14Remove gauss.hxx from MovingAverageRegressionCurveCalculator.Tomaž Vajngerl1-1/+0
Change-Id: Ib1a781b7bf848a092dd000d5999fef00a409d92d
2013-07-14Use QR decomposition instead of gauss elimination for polynomial reg.Tomaž Vajngerl4-214/+109
Gauss elimination is not a stable algorithm so use QR decomposition (with other methods). Also use horner's method to evaluate a polynomial which is the prefered and more stable method of polynomial evaluation. Still this is not quite enough as you still have to multiply very large number with very small and you lose percision on high-degree polynomials or big X values. Some methods evaluate the polynomial in barycentric form but how to get the polynomial into the barycentric form is now the question. Change-Id: If0d93bc1f08253f015e814e187b5a2cb7f78ec49
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke1-3/+3
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-12PCH for more librariesLuboš Luňák8-6/+664
Change-Id: I6f9a1969605e0016b11157ddb5754ac77fd3966b
2013-07-11XubString->OUStringCaolán McNamara2-2/+2
Change-Id: I1049249741f445ad7bd9c070f99812c4404597c9
2013-07-11drop some unused hidsCaolán McNamara1-4/+0
Change-Id: I9061966e6c86acf94c9a34704567366315baf007
2013-07-11post .ui conversion we can remove explicit SetPosPixel and HelpIdsCaolán McNamara5-62/+26
Change-Id: I2b7ff3e667ce1085676168e19a9c4ce7c404ac0b
2013-07-11insertgriddlg.ui and insertaxisdlg.ui widgetsManal Alhassoun9-204/+614
Change-Id: Ib5b84806189b44ca1b4c74c958d0fafa86030c36 Reviewed-on: https://gerrit.libreoffice.org/4799 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud1-7/+5
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-04unused variable bIsMainGridCaolán McNamara1-1/+0
Change-Id: I82870e452d24b1b6799ba96d42dcfa2446ab2e87
2013-07-04fdo#66422 Vertical grid toolbar button - choice major/minor/offTomaž Vajngerl7-8/+65
Added toolbar button for vertical grid. Icon was already prepared. Changed the button behavior for vertical and horizontal grid button from just on -> off to cycle through major -> major&minor -> off. Change-Id: I147fc97ab43db31f08a2e98f7b68422fb168f042
2013-07-04Clear values before calculation of moving average curve.Tomaž Vajngerl1-0/+3
Change-Id: Ic645195c0fc50a55bb0842fc378a3f329ea2d210
2013-07-03Polynomial curve equation: show "x^1" as "x"Tomaž Vajngerl1-2/+9
Change-Id: I86ff9b5cc2f3fa60533794ed9ecd1175924c1d25
2013-07-03Fixes to compiler errors, setRegressionProperties description.Tomaž Vajngerl4-8/+11
Change-Id: I40ef93746e5f2a43ce58f0080db0b643e22404a1
2013-07-03Compiler error fixes in PolynomialRegressionCurveCalculatorTomaž Vajngerl1-5/+6
Change-Id: Ie78e10fea0b798fae5ce2cee96798bcc65bbccbe
2013-07-03Remove "None" Regression curve option and related files and code.Tomaž Vajngerl7-275/+203
Change-Id: I38dde3854c08eecfe76d9f329ff2c0fa66449a58
2013-07-03Fix bad merge of CharController_WindowTomaž Vajngerl1-20/+11
Change-Id: I6d947d90f0505c29b4e301bc1ff30216aa0ed476
2013-07-03Draw MeanValue in chart bounds, smarter define no. of curve points.Tomaž Vajngerl1-28/+42
Change-Id: Ida8006af7f2771ee5f2c425d5c72df4cdba827b5
2013-07-03Fix problem with intercept = 0.0Tomaž Vajngerl1-2/+1
Change-Id: Ieeea09d9f93a4405ec6c33c1a646b0940d5d17a2
2013-07-03Remove InsertTrendlineDialog as it is not used anymore.Tomaž Vajngerl8-237/+0
Change-Id: I58dbdc416254e631f33784bb2a2cf124e69fc69a
2013-07-03Adding multiple trendlines with menu item Insert>Trend Lines..Tomaž Vajngerl2-45/+12
Menu item "Insert>Trend Lines.." allowed adding trendlines for all data series at the same time. As we can now have more trendlines per one data series this becomes cumbersome so only allow to add a trend line when data series is selected or known. Change-Id: I676876f389d00d3fbe668d429f0f98bd8c8d4d3d
2013-07-03use sal_Int32 instead of int in PolynomialRegressionCurveCalculatorTomaž Vajngerl1-10/+10
Change-Id: Icc3ffdda71482d1a716ea99e6cf8410bc2e39aa0
2013-07-03Linear curve is polyinomial curve with degree = 1Tomaž Vajngerl3-133/+32
Change-Id: I3785afc7b18ab3f742e4ecc0e299baafc2bd6614
2013-07-03Change series and trendline pop-up to support more trendlines.Tomaž Vajngerl3-101/+106
Conflicts: chart2/source/controller/main/ChartController_Window.cxx Change-Id: I70eb06d74670f54fa3792723711e9f73700f12ba
2013-07-03Cleanup ChartControllerTomaž Vajngerl1-104/+107
Change-Id: Ife0289003afe8f10db7ce3f6d9207087a5ac8e76
2013-07-03Add legend name for polynomial and moving average trendlines.Tomaž Vajngerl2-9/+16
Change-Id: I111c82c66f1ee29dae50470fc08bb66c79da0652
2013-07-03Insert new trendline instead of changing the existing one.Tomaž Vajngerl5-124/+126
Change-Id: Ic7cbfa55c7b2e42eb21400b2fca34724a72de701
2013-07-03Multiple trendline removing and changing type support.Tomaž Vajngerl7-89/+114
Change-Id: I33a298341e228080920977639cb59986d0b4bd82
2013-07-03VSeriesPlotter cleanup.Tomaž Vajngerl1-9/+10
Change-Id: Ie9a2fa2a241826581eb799bafa796c54d558d976
2013-07-03Force intercept for polynomial regression & dialog improvementsTomaž Vajngerl14-116/+389
Change-Id: I2f712d8b95b5fdeb05b93b5247aab9772a00cc70
2013-07-03Import/export of polynomial and moving average for old MS XP/2003 formatTomaž Vajngerl1-0/+16
Also make new services work, so they can be used in filters. Change-Id: If4ebd86b2b7bc4fc43d36109f05d06d42c531dab
2013-07-03Slight cleanup in polynomial curve calculationTomaž Vajngerl1-3/+1
Change-Id: Ifc1b923e633beedce9ad27847f3c5c1298ee812e
2013-07-03fdo#35712 polynomial and moving average regression linesTomaž Vajngerl29-62/+1501
- added polynomial and moving average to the dialog - implemented moving average and polynomal RegressionCurveCalculator - added icon for polynomial regression curve - prepare icon for moving average regression curve - degree parameter for polynomial regression curve - period parameter for moving average regression curve - limit the curve to max and min x value - added extrapolation Change-Id: I4ebb8dc23a3aff285b999e115fdda20ab11910a5
2013-07-03restore title on Format Number single tab dialogsCaolán McNamara1-1/+2
Allow a .ui to be given to the SingleTabDialog ctor. There are *three* single-tab Format Number dialogs, we really should combine them together into one dialog. Change-Id: I1021c9b968764bd9ad35832958ef2bd067fca798
2013-07-02Related: fdo#66252 RID_SVXPAGE_NUMBERFORMAT needs a layout parentCaolán McNamara2-4/+4
Change-Id: I25f87916e5b8480e50cafb30b78da4d575a7df24
2013-07-01Resolves: #i120559# Corrected load for charts without RangeString...Armin Le Grand3-6/+52
but with local row-oriented data (cherry picked from commit 855d5e3bc075e516edf1dc7e844924bbf9ab590c) Conflicts: chart2/source/tools/ChartModelHelper.cxx Change-Id: I4979b639f5652a1c27b640b6b469f66c65a888aa
2013-06-29remove OUString wrap for string literalsThomas Arnhold1-2/+2
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29String to OUString and cleanupThomas Arnhold2-4/+4
Change-Id: Idc18c1a6a64edea3399c8747ec0f096a2f964b68
2013-06-27n#820273: Multilevel labels are rotated.Muthu Subramanian1-0/+8
It looks odd when multilevel labels are rotated as well. This patch resets the rotation values for outer labels.
2013-06-23Resolves: #i121542# Unify the Menu APIAriel Constenla-Haile1-68/+65
(cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2013-06-17cppcheck: fix some uninitMemberVar in chart2 partJulien Nabet2-3/+5
Change-Id: Idfccf39fc4b34a5e4c2cb0bed4bcd399a73029af
2013-06-17fdo#43460 chart2: use isEmpty()Jelle van der Waa1-2/+2
Change-Id: Ia74923ed8f00adfa3f7758edb4e5755fedb0ec8a Reviewed-on: https://gerrit.libreoffice.org/4315 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>