que tienen esta página:uso highchart y highstock en la misma página
<script type="text/javascript" src="jQuery/Highcharts/highstock1.1.6.js"></script>
<script type="text/javascript" src="jQuery/Highcharts/highcharts2.1.4.js"></script>
y en la página que utilizan
$.getJSON(
"server/indice.server.php?row=" + row +"&item="+ item,
null,
function(data)
{
chartindice = new Highcharts.Chart(
{
chart:
{
renderTo: 'graph',
defaultSeriesType: 'line',
zoomType: 'x'
},
/////moore setting..
series:
[{
type: 'area',
name: titleindice,
data: indice,
showInLegend : false //disable the the show/hide icon
}]
});
});
y un gráfico de highstock
window.chart = new Highcharts.StockChart({
chart: {
renderTo: 'chartHistory'
},
rangeSelector: {
selected: 2
},
series: [{
data: history,
type: 'spline',
tooltip: {
valueDecimals: 2
}
}]
});
y que pueden No trabajamos juntos, solo uno o el otro.
¿Qué puedo hacer?
¿Ha tratado de mostrarlos separarated? Que pasó ? –
sí, incluso por separado, el gráfico de Highchart no funciona (bien) .. ¿Hay algún archivo highstock + highchrt js en alguna parte? – devmonster
¿Puedes registrar los datos de tu serie y publicarlos aquí? –