zetacomponents / graph Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Hi,
I dont know if someone will answer me, but in the galery there is a picture of scatterplot
http://zetacomponents.org/documentation/trunk/Graph/img/line_chart_phpuc.png
is this actually realisable ?? i mean how do you make disssapear lines between dots ?
Kind regards
Flash is dead, we should remove this code. The ming extension supporting this is not supported on PHP 7.
If the gd extension is installed, but FreeType support isn't enabled, ezcGraphGdDriver->getTextBoundings()
can return null
because neither of the case
blocks in this switch
block will be executed. This can cause less than intuitive errors like the one below when calls like this one don't check the return value to ensure it's an object. It may be best to have ezcGraphGdDriver->getTextBoundings()
throw an exception if no case
blocks are matched.
PHP Notice: Trying to get property of non-object in /home/matt/Software/spl-benchmarks/vendor/zetacomponents/graph/src/driver/gd.php on line 565
Hi,
in the function "testFitStringInTextBox" in driver.php
you tokenize the string using $tokens = preg_split( '/\s+/', $string );
when $string is in UTF 8 and using a 2 bytes character, the $tokens get corrupted and the labels can be turned to an empty string when the svg.php encodes() it using htmlspecialchars (returns empty string if char is wrong)
So the tokenization should take care of the encoding option !
Thank you for these components !
Nicolas.
At packagist.org - zetacomponents/graph there is only the dev-master package available but not any more concrete version like 1.5.3 etc.
Can you please restore these broken packagist releases or are there any reasons why you removed them?
Hi,
Bug Description
If I do this :
$palette->majorGridColor = '#000000FF';
$palette->majorGridColor = '#000000aa';
$graph->palette = $palette;
then my graph has a major grey grid on xAxis (vertical lines) and yAxis (horizontal lines).
But if I do this :
$palette->majorGridColor = '#000000FF';
$graph->palette = $palette;
$palette->majorGridColor = '#000000aa';
then my graph only has a major grey grid on yAxis (horizontal lines) only.
Questions
To sumarize, is the palette still writable after setting it to the graph ?
If I want to apply a slight palette modification on a specific Axe, do I have to clone it ?
Usecase
Actually my objective was to get only the vertical grid. This is what I did :
$palette2 = clone $graph->palette;
$palette2->majorGridColor = '#000000aa';
$graph->xAxis->setFromPalette($palette2);
Setting custom axis label count (for example, 2) when using BoxedLabelRenderer results in huge margins on both ends of the axis and incorrect BarChart bar width.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.