Code Monkey home page Code Monkey logo

vondorishi / advanceofficechart Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 1.97 MB

The objective of this extension is to easily provide high quality charts which are not available in OpenOffice. Such a list of charts could be found https://wiki.openoffice.org/wiki/Chart2/ChartTypes. At present, with this extension, it is possible to plot histogram and boxplot charts and save them in png or svg format. I will try to add Venn diagram and other chart types in future releases of this extension. After installation, restart OpenOffice and the extension will be available from "Tools -> Add-Ons". Please comment your experience or report any bug. This extension uses JFreeChart (http://www.jfree.org/jfreechart/) library to plot the charts. Tested on : CentOS + LibreOffice 4.0 (Passed) CentOS + LibreOffice 3.5 (Passed) Windows + OpenOffice 3.3 (Passed) Ubuntu + Libreoffice 3.5 (failed)

Java 100.00%

advanceofficechart's People

Contributors

vondorishi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

advanceofficechart's Issues

Exception when non-contiguous selection

Hi, I was able to install on Apache OpenOffice 4.1.6, Fedora 27 32bit, Oracle JRE 1.8.0_191.
(BTW, instructions somewhere should say it needs to be launched from the "Addons" menu. I was expecting it to be integrated into the native charts dialog, I thought the installation had silently failed).

It seems the addon throws an exception when the selection to be charted is non-contiguous. If the selection is contiguous, I can launch the addon, but if I add a non-contiguous column (or selection) and try to "Rescan" I get the exception again. If I try to launch the addon with the non-contiguous selection already selected, the addon fails to appear.

(Also, I cannot change the text in the textbox to edit the selection.)

I tried switching to Oracle JRE 1.7.0_75 but same issue.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.advanceChart.util.OfficeUtil.getSelRangeText(OfficeUtil.java:43)
at com.advanceChart.configureSteps.DataRange.configBean(DataRange.java:78)
at com.advanceChart.configureSteps.DataRange.initialize(DataRange.java:73)
at com.advanceChart.configureSteps.DataRange.(DataRange.java:69)
at com.advanceChart.AOCgui.initialize(AOCgui.java:157)
at com.advanceChart.AOCgui.(AOCgui.java:121)
at com.advanceChart.RegisterAndService$1.run(RegisterAndService.java:122)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:738)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:699)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:708)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Usage with Debian11

20221114 cg
Using
~$ cat /etc/debian_version
11.5

and Libreoffice:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 2; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: de-CH (de_CH.utf8); UI: de-DE
Debian package version: 1:7.0.4-4+deb11u4
Calc: threaded
(This is a german-localized version.)

I installed libfreechart-java with apt,
installed the extension by the extension manager.
No new menu item showed up within the "Extras" menu.
An "Advanced Office Charts" Icon showed up on a new "Symbolleiste".

When selecting data and pressing the icon, strictly nothing happened.
apt install openjdk-17-jre and a reboot resolved the issue.
Now everything works nicely.
Thank you!!!
Maybe the dependencies could be more clearly mentioned in the README?

Bins upper limit

Is there any way that you can manually define the upper limits of the bins in histograms?

Thank you!

Cannot create Java implementation loader

I am on a Windows 10 machine running LibreOffice 5.2.5.1. When I try to use your installer to install this extension, I get the following error message:

Cannot create Java implementation loader

And the plugin does not install.

No forward or finish buttons

Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: f5df176c80caea84288e6d2ddbbc413e4968a422
CPU threads: 20; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.