135 Commits

Author SHA1 Message Date
John McNamara
7dbdad43a5 chart: add initial layout support
Feature: #477
2025-03-28 00:33:23 +00:00
John McNamara
f29cf40d38 package: update copyright year 2025-02-11 00:03:36 +00:00
John McNamara
f6d73b0ae1 package: update copyright year 2024-02-26 18:47:32 +00:00
John McNamara
5625238848 Convert public char* to const char* for C++ compatibility. 2023-09-25 20:59:05 +01:00
John McNamara
c0d12f3a5c Updated copyright year. 2022-01-16 20:22:27 +00:00
John McNamara
393ded9a2d Add option to turn off bold in chart title font.
Added the LXW_EXPLICIT_FALSE variable to allow the default bold
property in chart title fonts to be turned off.

Closes #199
2021-07-12 22:33:11 +01:00
John McNamara
063f702593 Fix issue for y_axis font rotation of 0. 2021-04-23 20:54:09 +01:00
John McNamara
83550882c6 Added 'min' crossing option to chart axes.
Add option to set a chart crossing to 'min' as well as the existing
'max' option. The 'min' option isn't available in the Excel interface
but can be enabled via VBA.
2021-03-26 17:01:00 +00:00
John McNamara
c06101fcad Updated copyright year. 2021-01-13 21:25:35 +00:00
John McNamara
0d4e3fd531 Untabify some code. 2020-09-08 14:38:24 +01:00
John McNamara
7da7225b66 Added docs for data label formatting. 2020-08-11 20:18:38 +01:00
John McNamara
7182ac3e47 Added formatting for custom chart data labels. 2020-08-10 19:11:51 +01:00
John McNamara
e5a6833382 Added formatting for chart data labels. 2020-08-07 00:50:09 +01:00
John McNamara
2e6f3d7cdf Change lxw_chart_data_label field from .delete to .hide.
Change lxw_chart_data_label field from .delete to .hide in order
to avoid reserved word conflict with C++.

Issue #300
2020-08-04 11:16:49 +01:00
John McNamara
12ec39608f Added docs for custom chart data labels. 2020-08-03 17:54:48 +01:00
John McNamara
ca5c2b7cb9 Added support for custom chart data labels. 2020-08-01 17:50:06 +01:00
John McNamara
714d07dd39 Added stacked and percentr stacked line charts.
Added LXW_CHART_LINE_STACKED and LXW_CHART_LINE_STACKED_PERCENT
line charts subtypes.
2020-05-31 12:59:19 +01:00
John McNamara
2849813f36 Updated copyright year. 2020-01-12 12:59:31 +00:00
John McNamara
d87fbddd72 Refactored the chart pattern struct.
Refactored the chart pattern struct to remove hidden fields.

See #252
2019-11-17 13:09:45 +00:00
John McNamara
d840235a02 Refactored the chart fonts struct.
Refactored the chart fonts struct to document or remove hidden
fields.

See #252
2019-11-16 16:33:31 +00:00
John McNamara
4e1ee88760 Add support for East Asian vertical chart fonts. 2019-08-31 17:32:54 +01:00
John McNamara
8ff6465f51 Add option to set chart font rotation as stacked.
Added the option to allow chart fonts to be rotation to 270 deg
to give a stacked orientation.
2019-08-24 09:55:47 +01:00
John McNamara
72c9b219cb Updated copyright year. 2019-02-10 21:11:46 +00:00
John McNamara
4a67554236 Added chartsheet protect() function. 2018-09-15 14:36:47 +01:00
John McNamara
2620e3d8a1 Minor fix for chart_axis_set_name() examples/docs. 2018-09-09 12:55:15 +01:00
John McNamara
2ea3ba2a71 First fully functional chartsheet implementation.
Issue #90
2018-09-09 01:09:44 +01:00
John McNamara
16ec6ca393 Minor doc fix. 2018-09-02 21:02:25 +01:00
John McNamara
f7f32def45 Refactor chart axis label alignment.
Issue #186
2018-09-01 20:58:31 +01:00
Jean-Philippe Doyle
3d3bd12abe Add function to set axis labels alignment 2018-09-01 20:26:34 +01:00
John McNamara
d4819bc3a3 Added top_left chart legend position. 2018-08-20 14:00:09 +01:00
John McNamara
d863c8e1fd Add functions to access axis and error bar pointers.
Add functions to return pointers to chart axis and error bar
pointers as syntactic sugar for wrapper languages that can't
access the pointers directly.

Issue #142
2018-02-11 13:24:46 +00:00
John McNamara
ce9922bf13 Explicitly copy member data from user supplied structs.
Explicitly copy member data from user supplied structs rather
than memcpy() the entire struct to, mainly, avoid garbage
in undocumented or internal fields.

Issue #145.
2018-02-04 10:53:45 +00:00
John McNamara
dc31b10bad Updated copyright year. 2018-02-03 17:15:35 +00:00
John McNamara
25f5a4f7a6 Allow float font sizes.
Issue #114.
2017-07-26 23:22:42 +01:00
John McNamara
53f0f4971e Fix indentation. 2017-06-26 23:55:10 +01:00
John McNamara
b5c42463bc Fix const char* for C++ and added tests.
Fixed const char* in several APIs and added test to ensure that
any others are caught in future.

Issue #102.
2017-06-25 20:16:36 +01:00
John McNamara
be77bac3ee Added docs for chart trendlines. 2017-01-29 18:13:43 +00:00
John McNamara
27ebef50eb Add chart trendlines. 2017-01-29 02:20:06 +00:00
John McNamara
2515c54b06 Add docs for chart error bars. 2017-01-27 23:24:23 +00:00
John McNamara
7b69c672bf Refactoring of error bar function structure. 2017-01-27 00:29:07 +00:00
John McNamara
6ef24a312c Refactoring of error bar function structure. 2017-01-27 00:05:48 +00:00
John McNamara
fbeeef7cc1 Initial chart error bars. 2017-01-26 00:07:38 +00:00
John McNamara
945f93599f Minor doc fix. 2017-01-25 20:33:51 +00:00
John McNamara
90b7f89a61 Add docs for chart data labels. 2017-01-24 23:23:02 +00:00
John McNamara
9f2108feb1 More features and tests for chart data labels. 2017-01-23 00:20:52 +00:00
John McNamara
673a0e0458 Initial working chart data labels. 2017-01-22 18:13:31 +00:00
John McNamara
37eea6ed87 Added docs for chart up-down bars. 2017-01-22 03:03:03 +00:00
John McNamara
6e82474759 Added chart up-down bar support. 2017-01-22 02:24:50 +00:00
John McNamara
bcc3945565 Added handling of blank data in charts. 2017-01-21 20:45:11 +00:00
John McNamara
eef0636b00 Added docs for gap and overlap functions. 2017-01-21 14:17:28 +00:00