Shade the area below line chart - PHPpresenatation - php

I am making the PPT using PHPpresentation library. In that I have create the line chart, but am unable to color the area below the line.
this i how it is coming.
but i want something like this
Thanks in advance.

Please, could you go through this link : How do I customize the line in a line chart with PHPPowerpoint/PHPPresentation? ?
I hope that help you to solve your problem. Thanks

Related

Add a font awsome icon into php code

I'm using WordPress CMS to develop my website. I need to put a font awesome icon before a heading. See below snapshot for placement.
This is the current php code:
if(empty($search_label)) {
$search_label = 'Search Inventory';}
I'm a beginner to PHP so, I appreciate if anyone has a solution to do this easily.
Thank you!
First of all, include font awesome CSS file in the header.
and then
if(empty($search_label)) {
$search_label = '<i class="fa fa-search"></i>Search Inventory';}

Hyperlinks not working in PrinceXML

If I write below code in html file to convert it to PDF with prince factory it is not working properly.
http://google.com
This above link in pdf generated from prince xml is working properly, but it is pointing to google.com instead of example.com
Google
This link will not work as we have not written anything before google as http or https.
Can someone please help me on this?
Thanks.
You can try with css model
Html
<span class="linkContent">
CSS
.linkContent {
content: "http://google.com"
}
Refer doc: https://www.princexml.com/doc/8.1/gen-content/
Hope it can help you!
hi you have to check the "prince-pdf-link-type" property.
by default value is auto, try to change to "web" :
https://www.princexml.com/doc/properties/prince-pdf-link-type/
Apologies for this. But the problem was not with PrinceXML. later after so much investigation, I found that it was problem with merging 2 documents in FPDF.
I used Zend Merger for merging 2 documents which were created by PrinceXML and it worked perfect.
Apologies and Thank you all for your help.

Jquery Image slider showing thumbnails on bullets hover

Is there any responsive jQuery plugin for displaying image slider and also showing thumbnails on bullets hover.
Tried LayerSlider plugin but the whole image was not visible.
Please help
Thanks in advance
There are a couple that come to mind wowslider or sliderrevolution.I think both should fit this need for you.
see this url you will get some idea http://codepen.io/zuraizm/pen/vGDHl its working good enter code here http://codepen.io/zuraizm/pen/vGDHl
There doesnt seem to be much cloice if your against LayerSlider
you could implement one yourself with something like this with the hover function instead ?
var mainImage = $("#mainImage");
$(".img-container img").hover(function(){
var src = $(this).attr("src");
$("#mainImage").attr("src",src);
});
mainImage.on("click",function(){
$(this).css("transform","scale(2)");
});

HTML2PDF - The content of a TD tag does not fit on only one page

Php produces pdf without issue when does not span, nested tables are not in use, and
HTML2PDF::$_subobj->pdf->getPage();
doesn't seem to address the bug/issue. Anyone run into this ERROR n°7?
Add the following in your function to solve the error
html2pdf->setTestTdInOnePage(false);
If you have a long picture (in table td) , example 1200px you can get this error.
I fixed my picture to 600px and problem solved.
Example: My photo is 3000x2000 (width:height)
I resized photo to 600x400.

How create text background in zend pdf

I am new to the zend-framework.
I created a pdf in zend and I want to set text background with the color.
like
please help........
Thanks in advance..
Please try to read : http://devzone.zend.com/article/12492
That will give answer to all of your doubts.......

Categories