Make use of clang-format
Change-Id: I71bbf133223931eddb0c7e568cc0b99ecf807fa1
This commit is contained in:
@@ -10,13 +10,13 @@ int main()
|
||||
{
|
||||
//![0]
|
||||
Document xlsx;
|
||||
for (int i=1; i<10; ++i)
|
||||
xlsx.write(i, 1, i*i);
|
||||
for (int i = 1; i < 10; ++i)
|
||||
xlsx.write(i, 1, i * i);
|
||||
//![0]
|
||||
|
||||
//![1]
|
||||
xlsx.addSheet("Chart1", AbstractSheet::ST_ChartSheet);
|
||||
Chartsheet *sheet = static_cast<Chartsheet*>(xlsx.currentSheet());
|
||||
Chartsheet *sheet = static_cast<Chartsheet *>(xlsx.currentSheet());
|
||||
Chart *barChart = sheet->chart();
|
||||
barChart->setChartType(Chart::CT_Bar);
|
||||
barChart->addSeries(CellRange("A1:A9"), xlsx.sheet("Sheet1"));
|
||||
|
||||
Reference in New Issue
Block a user