Comments (2)
The graph is generated as an image, you should be able to use it as an img tag in your html. I believe the csim examples use it that way (I'm barely getting to code some tests, remember this is a revival of an abandoned project)
from jpgraph.
The graph is generated as an image, you should be able to use it as an img tag in your html. I believe the csim examples use it that way (I'm barely getting to code some tests, remember this is a revival of an abandoned project)
thanks for being willing to help, researching more I found this way to generate the image in a specific directory and then call it in html, it worked, thanks!
Solution:
$graph-> Stroke ('./ assets / charts / chart_bar.png');
< img src='./ assets / charts / chart_bar.png' >
from jpgraph.
Related Issues (20)
- Error in Laravel HOT 1
- Fatal errors in Image class getWidth and getHeight static methods
- Undefined constant "Amenadiel\JpGraph\Graph\TITLEBKG_FILLSTYLE_SOLID"
- Deprecation notices in PHP 8.1
- Is there a way to add margin to the bars of a GroupBarPlot?
- get width and height from legend
- Not support in php v8.2
- line graph not updating styling on multi yaxis
- 示例能有对应的中文翻译或图片就好了 HOT 4
- fix HOT 2
- DotEnv should be optional HOT 1
- PHP 7.4 Trying to access array offset on value of type null HOT 3
- use persian word
- cannot find fonts HOT 5
- PHP 7.4 not supported HOT 4
- imagecolorresolvealpha() expects parameter 2 to be int, string given HOT 1
- composer autoload deprecation warnings HOT 4
- GetPlotsYMinMax() error
- Check for invalid GD image resource not compatible with PHP 8.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpgraph.