mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #92] chart_series_set_line does not work #77
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Diddlik on GitHub (Jan 20, 2017).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/92
Originally assigned to: @jmcnamara on GitHub.
Hello,
thank you for implementation of additional settings for line-charts. I tried it with minimal example, but it does not work for me ;)
If I set the line properties, in the output file is the line gone...
With line

Without line

@jmcnamara commented on GitHub (Jan 20, 2017):
Thanks for the report.
It would have been nicer as a complete program. ;-)
Anyway, I added the rest of the header code as follows:
Compiling it in the examples dir and running this gives the following, expected output in Excel 2013:
Output:

Also there is a test case in the test suite that compares against an Excel generated file that is very similar to this and it passes: https://github.com/jmcnamara/libxlsxwriter/blob/master/test/functional/src/test_chart_format09.c
So, double check the version you are using and your test program/output.
John
@jmcnamara commented on GitHub (Jan 20, 2017):
Maybe the issue is that this struct isn't initialised:
Try initialise it to zero first and then set the members that you want.
@Diddlik commented on GitHub (Jan 20, 2017):
It works with initialization!!! You are the best!
Thank a lot for a great job!
@jmcnamara commented on GitHub (Jan 20, 2017):
Ok. Good stuff. Closing.