jpgraph icon indicating copy to clipboard operation
jpgraph copied to clipboard

Not Honoring "Display Blanks As"

Open oleibman opened this issue 8 months ago • 2 comments

This seems likely to be just an oversight on Jpgraph's part of an option which isn't used that much. Here's a spreadsheet showing the different renderings in Excel for each of gap, zero, and span.

33_Chart_create_scatter7_blanks.xlsx And here are the 3 identical (except for different titles) Jpgraph renderings of those charts.

Image Image Image

Not a terribly important problem. If you can see a way to fix it, great! If not, we'll survive.

oleibman avatar Mar 20 '25 00:03 oleibman

Hi,

Could you please attach some PHP-code showing the problem? Will take a look deeper in jpgraph's code for it.

f1mishutka avatar Mar 20 '25 03:03 f1mishutka

https://github.com/PHPOffice/PhpSpreadsheet/blob/19055da8b63f9fd3de7007dd7ac51c40d72be858/samples/Chart33b/33_Chart_create_scatter7_blanks.php The 3 charts on the spreadsheet differ only in their titles, and in the use of DataSeries::EMPTY_AS_GAP/ZERO/SPAN.

oleibman avatar Mar 20 '25 04:03 oleibman