[GH-ISSUE #142] Pointers to Axis and Error_bars #115

Closed
opened 2026-05-05 11:42:28 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @RaFaeL-NN on GitHub (Jan 15, 2018).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/142

Originally assigned to: @jmcnamara on GitHub.

To use the libxlsxwriter in languages other than C as external dll (where C headers can not be used), it would be better to add methods that return pointers to axis and error_bars, something like

lxw_chart_axis * chart_get_axis (lxw_chart * chart, uint8_t type)
lxw_series_error_bars * chart_series_get_error_bars(lxw_chart_series * series,  uint8_t type)

(type means X or Y)

So, it will simply use these pointers in chart_series_set_error_bars*and chart_axis_set* methods.

Originally created by @RaFaeL-NN on GitHub (Jan 15, 2018). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/142 Originally assigned to: @jmcnamara on GitHub. To use the libxlsxwriter in languages other than C as external dll (where C headers can not be used), it would be better to add methods that return pointers to axis and error_bars, something like ```C lxw_chart_axis * chart_get_axis (lxw_chart * chart, uint8_t type) lxw_series_error_bars * chart_series_get_error_bars(lxw_chart_series * series, uint8_t type) ``` (type means X or Y) So, it will simply use these pointers in `chart_series_set_error_bars*`and `chart_axis_set* methods`.
gitea-mirror 2026-05-05 11:42:28 -06:00
Author
Owner

@jmcnamara commented on GitHub (Feb 11, 2018):

I've push a fix for this to the master branch. See commit d863c8e.

<!-- gh-comment-id:364752504 --> @jmcnamara commented on GitHub (Feb 11, 2018): I've push a fix for this to the master branch. See commit d863c8e.
Author
Owner

@RaFaeL-NN commented on GitHub (Feb 11, 2018):

Works good, thanks

<!-- gh-comment-id:364757871 --> @RaFaeL-NN commented on GitHub (Feb 11, 2018): Works good, thanks
Author
Owner

@jmcnamara commented on GitHub (Feb 11, 2018):

Added in version 0.7.6. Closing.

<!-- gh-comment-id:364802329 --> @jmcnamara commented on GitHub (Feb 11, 2018): Added in version 0.7.6. Closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#115
No description provided.