Note that there are some explanatory texts on larger screens.

plurals
  1. POHighcharts - three series using left Y axis and the fourth using the right Y axis
    primarykey
    data
    text
    <p>I have a graph where I am displaying three volume series (oil, gas, and water) using the left Y axis. I need to display another series for the number of wells on this graph using a different scale along the right axis. the code is shown below:</p> <pre><code> $(document).ready(function() { $("#tabs").tabs(); new Highcharts.Chart({ chart: { renderTo: 'volume_chart', type: 'line' }, title: { text: "#{title_text}" }, xAxis: { title: { text: 'Time Period' }, tickInterval: #{tick_interval}, categories: #{x_array}, showLastLabel: true, labels: { rotation: -45, align: 'right', style: { font: 'normal 13px Verdana, sans-serif' } } }, yAxis: { title: { text: 'Volume' }, type: 'logarithmic' }, tooltip: { headerFormat: '&lt;b&gt;{series.name}&lt;/b&gt;&lt;br /&gt;', pointFormat: 'Period = {point.x}, Volume = {point.y}' }, legend: { layout: 'vertical', align: 'right', verticalAlign: 'top', x: -20, y: 100, borderWidth: 0 }, plotOptions: { series: { marker: { enabled: false, states: { hover: { enabled: true } } } } }, series: [{ name: 'Oil, bbl', color: 'green', data: #{oil_vol_array}, pointStart: 1 },{ name: "Gas, Mcf", color: 'red', data: #{gas_vol_array}, pointStart: 1 },{ name: 'Water, bbl', color: 'blue', data: #{water_vol_array}, pointStart: 1 }] }); }); </code></pre> <p>See the three series for Oil, Gas, and Water volumes respectively. I need to put in another series for number of wells which uses the Y - axis on the right for displaying number of wells. This also needs to be a logarithmic type.</p> <p>I would also like to suppress the last tickValue on the x-axis (please see the attached image:</p> <p><img src="https://i.stack.imgur.com/Mj8pI.png" alt="The chart display"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload