-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Graph without fill #3408
Comments
I believe this will do what you want. $chart->setNoFill(true); You can also get the same result in Excel by right-clicking on the Chart, choosing "Format Chart Area", "Fill", "No Fill". |
Excellent! |
Now. I can't change the color of Title. I have the following code $labelLayoutText = new Layout(); |
I am not sure if there is a way to use Layout for this purpose. However, this will set your Chart title to red: $richText = new RichText();
$run = $richText->createTextRun('VENTAS EN UNIDADES POR MES');
$run->getFont()->setChartColor(['value' => 'ff0000']);
$run->getFont()->setSize(18)->setBold(true);
$title = new Title($richText); |
The x-axis and y-axis titles can be handled in the same way. |
This is:
Hello, how do I make the charts do not have padding. When sorting the graph,
the filling is white. I can't remove the padding.
Graphic 1 has a white background. Graph 2 contains no padding. I want the code of a graph without padding. I await your response, thank you
The text was updated successfully, but these errors were encountered: