Skip to content

Latest commit

 

History

History

Chart_2_Views

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Demonstrates creating charts

charts_happy

Demonstrates loading a spread sheet into Calc and dynamically inserting charts. There are a total of 17 different charts that can be dynamically created by this demo.

A message box is display once the document has been created asking if you want to close the document.

NOTE

There is currently a bug in LibreOffice 7.4 that does not allow the Chart2 class to load. The Chart2 has been tested with LibreOffice 7.3

Options

The type of chart created is determined by the -k option.

Possible -k options are:

  • area
  • bar
  • bubble_labeled
  • col
  • col_line
  • col_multi
  • donut
  • happy_stock
  • line
  • lines
  • net
  • pie
  • pie_3d
  • scatter
  • scatter_line_error
  • scatter_line_log
  • stock_prices

Automate

Cross Platform

From current example folder.

python -m start -k happy_stock

Linux/Mac

python ./ex/auto/chart2/Chart_2_Views/start.py -k happy_stock

Windows

python .\ex\auto\chart2\Chart_2_Views\start.py -k happy_stock