2013-02-06 3 views
0

Voyez-vous le problème de portée lorsque j'utilise plusieurs yAxis? Comment puis-je résoudre ce problème?Highstock/Highchart - Problème avec plage sur plusieurs yAxis

image

Il est le même code que j'utilise !!

yAxis: [ 
        { labels: { formatter: function() { return this.value + '".$unitall1."' }, style: { color: '#89A54E' } }, title: { text: '".$graphall1."' , style: { color : '#4572A7' } }, opposite: true }, 
        { labels: { formatter: function() { return this.value + '".$unitall2."' }, style: { color: '#4572A7' } }, title: { text: '".$graphall2."' , style: { color : '#89A54E' } }, }, 
        { labels: { formatter: function() { return this.value + '".$unitall3."' }, style: { color: '#000000' } }, title: { text: '".$graphall3."' , style: { color : '#000000' } }, }, 
        { labels: { formatter: function() { return this.value + '".$unitall4."' }, style: { color: '#C4087C' } }, title: { text: '".$graphall4."' , style: { color : '#C4087C' } }, opposite: true } 
         ], 
+0

double possible de [Supprimer l'espace entre axeY et données Highcharts] (http://stackoverflow.com/questions/14331112/remove-space-between-yaxis-and-data-in-highcharts) –

Répondre

0

Utilisez la propriété yAxis.offset pour définir le décalage pour chacun de vos axe y. On dirait que l'écart par défaut entre deux axes est moindre dans highstock alors il est dans highchart

0

Vous avez deux options:

Questions connexes