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",[url removed, login to view]],

["2",[url removed, login to view]],

["3",[url removed, login to view]],

["4",[url removed, login to view]],

["5",[url removed, login to view]],

["6",[url removed, login to view]],

["7",[url removed, login to view]],

["8",[url removed, login to view]],

["9",[url removed, login to view]],

["10",[url removed, login to view]]

]

)

);

//[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: what graph, html doctype, grid html, javascript chart ejschartjs, doctype html, rgb, iso, iso 7, id layout, freelancer5, ajax grid, grid ajax, javascript ajax grid, graph layout javascript, show panel javascript, run simple javascript function, content height javascript, panel joomla, simple graph, chart ajax joomla, chart css html, joomla color css, content module css, joomla w3c, joomla css code

Tentang Majikan:
( 0 ulasan ) Jerusalem, Israel

ID Projek: #357241