Is it possible to set chart line colors?

Home Forums Open-Xml-Sdk Is it possible to set chart line colors?

This topic contains 0 replies, has 1 voice, and was last updated by  andrei.paraschiv 8 years, 1 month ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3897

    andrei.paraschiv
    Participant

    Hi

    I import a xlsx object using the functionalities provided by

    using DocumentFormat.OpenXml.Drawing;
    using DocumentFormat.OpenXml.Drawing.Charts;
    using DocumentFormat.OpenXml.Drawing.Wordprocessing;
    using DocumentFormat.OpenXml.Packaging;

    like so

    using (var spreadsheetDocument = SpreadsheetDocument.Open(workbookStream, false))

    I modify some of the content according to my needs
    At the end of the process, the charts in the spreadsheet have lines colored in a different way than at the beginning.
    The lines in the charts are identical, but for the color.
    Is there any way to manually set the colors of the lines in the chart?

    Thank you

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.