Hi people i have problems, use the index.php that comes inside the "\Highcharts-2.3.3\exporting-server\php" and simply it does not work, i put a i did this inside the index.php
//-------------------------------------------------------------------------------------------------
define ('BATIK_PATH', 'batik-1.7/batik-rasterizer.jar');
ini_set('magic_quotes_gpc', 'off');

$type = $_POST['type'];
$svg = (string) $_POST['svg'];
$filename = (string) $_POST['filename'];
die($type.$svg.$filename."respuesta");
//--------------------------------------------------------------------------------------------------
and it shows "respuesta" alone.
and without die() it show "Invalid type".
and my code of chart is this
//----------------------------------------------------
var chart1;
var cont;
var div = document.createElement('div');
chart1 = new Highcharts.Chart({
chart:{
//animation: !1,
//reflow: !1,
//zoomType: "x",
renderTo: div,
type: 'bar'/*,
marginBottom: 0,
marginLeft: 0,
marginRight: 0,
marginTop: 0,*/
//marginTop: 10
},
title:{
text: ''
},
xAxis:{
categories: ['Enero', 'Febrero', 'Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
labels:{
style:{
fontSize: '16px',
fontFamily: 'Helvetica Neue,Helvetica,Arial,sans-serif',
color: 'black'
}
}/*,
title: {
text: 'Mes'
}*/
},
plotOptions: {
series: {
borderWidth: 1,
/*stacking: 'normal,',
pointWidth: 28,*/
pointHeigh: 32,
stroke :"green",
strokeWidth:2,
color: color
}
},
yAxis:{
title:{
text: 'KWh/m2;',
style:{
fontSize: '14px',
fontFamily: 'Helvetica Neue,Helvetica,Arial,sans-serif',
color: 'black',
fontWeight: 'normal'
}
},
labels: {
rotation: -45,
style: {
font: 'normal 9px Verdana, sans-serif, arial'
}
}
},
tooltip:{
formatter: function() {
return ''+'en '+ this.x +': '+ redondeo(this.y) +" KWh/m2";
}
},
legend: {
layout: 'vertical',
align: 'left',
verticalAlign: 'bottom',
x: 0,
y: 0,
floating: true,
borderWidth: 1,
backgroundColor: '#FFFFFF',
shadow: true
},
series: [{
name:'mes',
borderWidth: 0.1,
data:data,
shadow: true,
dataLabels: {
enabled: true
}
}],
exporting:{
url:"http://10.8.194.221/personal/assets/ge/bin";
}
});
//---------------------------------------------------


help please, i need this option to my thesis project.
thanks to all

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to