\Kendo\Dataviz\UI\ChartPdfMargin

A PHP class representing the margin setting of ChartPdf.

Methods

bottom

The bottom margin. Numbers are considered as "pt" units.

Returns

\Kendo\Dataviz\UI\ChartPdfMargin

Parameters

$value float|string

Example - using float

<?php
$margin = new \Kendo\Dataviz\UI\ChartPdfMargin();
$margin->bottom(1);
?>

Example - using string

<?php
$margin = new \Kendo\Dataviz\UI\ChartPdfMargin();
$margin->bottom('value');
?>

left

The left margin. Numbers are considered as "pt" units.

Returns

\Kendo\Dataviz\UI\ChartPdfMargin

Parameters

$value float|string

Example - using float

<?php
$margin = new \Kendo\Dataviz\UI\ChartPdfMargin();
$margin->left(1);
?>

Example - using string

<?php
$margin = new \Kendo\Dataviz\UI\ChartPdfMargin();
$margin->left('value');
?>

The right margin. Numbers are considered as "pt" units.

Returns

\Kendo\Dataviz\UI\ChartPdfMargin

Parameters

$value float|string

Example - using float

<?php
$margin = new \Kendo\Dataviz\UI\ChartPdfMargin();
$margin->right(1);
?>

Example - using string

<?php
$margin = new \Kendo\Dataviz\UI\ChartPdfMargin();
$margin->right('value');
?>

top

The top margin. Numbers are considered as "pt" units.

Returns

\Kendo\Dataviz\UI\ChartPdfMargin

Parameters

$value float|string

Example - using float

<?php
$margin = new \Kendo\Dataviz\UI\ChartPdfMargin();
$margin->top(1);
?>

Example - using string

<?php
$margin = new \Kendo\Dataviz\UI\ChartPdfMargin();
$margin->top('value');
?>
In this article
Not finding the help you need?