Browse
For agents
About
M Chart
/
1.2.1
M Chart
v1.2.1
Switch version
2.3.2
2.3.1
2.3
2.2.2
2.2.1
2.2
trunk
1.0
1.1
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.10
1.10.1
1.11
1.11.1
1.11.2
1.12
1.2
1.2.1
1.3
1.3.1
1.3.2
All 53 releases
Overview
Code
m-chart
/
components
/
templates
/
chart-meta-box.php
chart-meta-box.php
in M Chart 1.2.1, at components/templates/chart-meta-box.php
9 lines
462 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
//
Show what the graph looks like
3
echo
$
chart
;
4
?
>
5
<
canvas
id
=
"
m-chart-canvas-render-<?php echo absint(
$
post
->
ID
); ?>
"
class
=
"
hide
"
>
<
/
canvas
>
6
<
textarea
name
=
"
<?php echo esc_attr(
$
this
->
get_field_name
( 'img' ) ); ?>
"
rows
=
"
8
"
cols
=
"
40
"
id
=
"
<?php echo esc_attr(
$
this
->
get_field_id
( 'img' ) ); ?>
"
class
=
"
hide
"
>
<
/
textarea
>
7
<
?
php
8
//
Load the various settings and controls this chart's library
9
require
__DIR__
.
'
/
'
.
$
post_meta
[
'
library
'
]
.
'
-settings.php
'
;