Ditutup

Joomla-EmpriseJSCharts overlap

I am trying to run simple graph as module inside of Joomla.

What I see is "exploded" layout - grpah itself has moved down the grid.

I attached package for graph, and this is the code I am running:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

<head>

... http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Trade Panel</title>

... type="text/javascript" src="GOFXTP/ejschart-developer_2_0_1/dist/EJSChart.js"> ...>

<style type="text/css">

.crn_graph { height: 100px; width: 240px; }

</style>

</head>

<body>

<div class="crn_graph" id="crn_graph"> </div>

... type="text/javascript">

/*

function drawCurrencyGraph ( values_pnts ) {

var chart = new [url removed, login to view]("crn_graph", {

show_legend: false,

show_messages: false,

show_titlebar: false,

show_hints: false,

show_messages: false,

axis_bottom: { visible: false }

}

);

[url removed, login to view](new [url removed, login to view](

new [url removed, login to view](values_pnts)));

}

*/

var chart = new [url removed, login to view]("crn_graph", {

show_legend: false,

show_messages: false,

show_titlebar: false,

show_hints: false,

show_messages: false,

axis_bottom: { visible: false },

axis_top: {

grid: { show: false }

},

axis_right: {

grid: { show: false }

},

axis_left: {

grid: { show: false }

},

axis_all: {

grid: { show: false }

}

}

);

//var myChartSeries = new [url removed, login to view](

var myChartSeries = new [url removed, login to view](

new [url removed, login to view](

[

["1",1.349],

["2",1.492],

["3",1.235],

["4",1.357],

["5",1.565],

["6",1.268],

["7",1.549],

["8",1.398],

["9",1.523],

["10",1.397]

]

)

);

//[url removed, login to view] = 'rgb(50,210,50)';

//[url removed, login to view] = 1;

//[url removed, login to view](true);

[url removed, login to view](myChartSeries);

...>

</body>

</html>

package of graph is ejschart-personal_2_0_1

can be downloaded from internet.

Kemahiran: AJAX, Javascript, Joomla

Lihat lebih lanjut: ejschart developer_2_0_1, what graph, html 5 grid, html 5 doctype, html 5 charset, grid html 5, doctype html public html 5, c# graph class, javascript chart ejschartjs, doctype html 5, rgb, iso, iso 7, id layout, freelancer5, ajax grid, grid ajax, iso 8859 charset, javascript ajax grid, graph layout javascript, show panel javascript, run simple javascript function, content height javascript, panel joomla, simple graph

Tentang Majikan:
( 0 ulasan ) Jerusalem, Israel

ID Projek: #357241