-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 Can I Insert Chart In Tempate ? #1700
Labels
Comments
Chart.php is a good place to start, and to add it to a document, you can use |
...and Image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
###it is not useful
$asset_industry_distribute_chart = new Chart("pie",["制造业","工业","金融业","农业"],[12,23,45,23]);
$asset_industry_distribute_chart->getStyle()->setWidth(Converter::inchToEmu(2.5))->setHeight(Converter::inchToEmu(2));
$asset_industry_distribute_chart->getStyle()->setShowGridX(false);
$asset_industry_distribute_chart->getStyle()->setShowGridY(false);
$asset_industry_distribute_chart->getStyle()->setShowAxisLabels(false);
$templateProcessor->setComplexBlock('a', $asset_industry_distribute_chart);
The text was updated successfully, but these errors were encountered: