Settings and activity

  1. 3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Highcharts Javascript API  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    Peter Heijnen commented  · 

    I'v built it with the current functionalities, so it is already possible:
    [code]
    dataLabels: {
    enabled:true,
    rotation:270,
    align: 'left',
    formatter: function() {
    var cat = this.x;
    var valuearray=new Array(9);
    var s

    /* var s = '<b>'+ Highcharts.dateFormat('%A, %b %e, %Y', this.x) +'</b>';*/

    $.each(this.series.data, function(i, point) {
    /*iterate through the data to find the corresponding point*/
    if(this.series.data[i].x==cat){
    valuearray[8] = i > 8 ? this.series.data[i-8].y : null ;
    valuearray[7] = i > 7 ? this.series.data[i-7].y : null ;
    valuearray[6] = i > 6 ? this.series.data[i-6].y : null ;
    valuearray[5] = i > 5 ? this.series.data[i-5].y : null ;
    valuearray[4] = i > 4 ? this.series.data[i-4].y : null ;
    valuearray[3] = i > 3 ? this.series.data[i-3].y : null ;
    valuearray[2] = i > 2 ? this.series.data[i-2].y : null ;
    valuearray[1] = i > 1 ? this.series.data[i-1].y : null ;
    valuearray[0] = i > 0 ? this.series.data[i].y : null ;
    }
    s=shewartRules(valuearray,UCL,LCL,Target);
    });
    return s;
    }
    }
    [/code]

    Peter Heijnen shared this idea  · 
  2. 272 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    11 comments  ·  Highcharts Javascript API  ·  Flag idea as inappropriate…  ·  Admin →
    Peter Heijnen supported this idea  · 
  3. 114 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    10 comments  ·  Highcharts Javascript API  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    Peter Heijnen commented  · 

    This would give room for extra information, like western rules. The rules attempt to distinguish unnatural patterns from natural patterns based on several criteria. When these criteria are met, it adds a signal to the point.

    For example: Give a signal when seven consecutive points falling above the average line

    Peter Heijnen supported this idea  ·