Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How put the color in chart with Xlsx #214

Open
obrienphao opened this issue Jul 7, 2022 · 0 comments
Open

How put the color in chart with Xlsx #214

obrienphao opened this issue Jul 7, 2022 · 0 comments

Comments

@obrienphao
Copy link

Hello,
I came here ask is possible to put the color in chart with Xlsx, i have my chart, but i have not find the methode for change the color of chart if possible the help me Example:

   ` QXlsx::Document xlsx("myExcel.xlsx");
     chart* histo->xlsx.insertChart(8, 8, QSize(300, 300));
     histo->setChartType(Chart::CT_BarChart);
     histo->setChartTitle("Conso");
     histo->addSeries(CellRange("B2:B10")); 
     histo->addSeries(CellRange("D2:D10")); 
     histo->addSeries(CellRange("C2:C10"));`

how put the color in different series ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant