summaryrefslogtreecommitdiff
path: root/offapi/com
diff options
context:
space:
mode:
authorvarshneydevansh <varshney.devansh614@gmail.com>2024-07-14 21:20:45 +0900
committerTomaž Vajngerl <quikee@gmail.com>2024-07-21 08:02:43 +0200
commit07ae0e5ada7cb595eb4815413a5bdd442c32a6ab (patch)
tree8a09c4364cd96f5668d4aa739e7786dfdb8df692 /offapi/com
parentb92b1ca8c14979550ec962464ec8d782cdd69d82 (diff)
tdf#82716 Add initial implementation of the Histogram Chart
- Add the Histogram selection to the UI - Histogram bars showing with No Gap - Convert X and Y axis to group data into bins and frequency - Adjusted failing UI test (tdf138556) as a new chart type was added Change-Id: Id1f161adac943ead5e17c7fbb7e14c9ab7f1655e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167068 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'offapi/com')
-rw-r--r--offapi/com/sun/star/chart/HistogramDiagram.idl35
1 files changed, 35 insertions, 0 deletions
diff --git a/offapi/com/sun/star/chart/HistogramDiagram.idl b/offapi/com/sun/star/chart/HistogramDiagram.idl
new file mode 100644
index 000000000000..ff31bff379c6
--- /dev/null
+++ b/offapi/com/sun/star/chart/HistogramDiagram.idl
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+module com { module sun { module star { module chart {
+
+
+/** This is a service for histogram diagrams.
+ @since LibreOffice 25.2
+*/
+service HistogramDiagram
+{
+ service com::sun::star::chart::Diagram;
+ service com::sun::star::chart::ChartStatistics;
+ service com::sun::star::chart::ChartAxisXSupplier;
+ service com::sun::star::chart::ChartTwoAxisYSupplier;
+
+ /** Specifies the width of each bin in the histogram. */
+ [property] double BinWidth;
+
+ /** Specifies the range of values covered by the bins. */
+ [property] string BinRange;
+
+ /** Specifies the type of frequency representation (count or density). */
+ [property] long FrequencyType;
+};
+
+}; }; }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */