It is currently Thu Apr 24, 2014 4:37 pm Advanced search

How to solve the problem of overlapping by dataLabels?

Technical support, bug reports and more.

How to solve the problem of overlapping by dataLabels?

Postby hobo6676 » Wed Feb 22, 2012 5:12 am

Image
Here is my code
Code: Select all
         plotOptions: {
             column: {
                stacking: 'normal',
                dataLabels: {
                   enabled: true,
                   color:  'black',
                   verticalAlign: 'top',
                   formatter: function() {
                      // this.series.options.dataLabels.y =this.y >= 0 ? -6 : 12;
                      if(this.y>0){
                         if(this.series.options.name=='Õ╣│õ╗è'){
                            this.series.options.dataLabels.y=-6;
                            
                         }else{
                            this.series.options.dataLabels.y=12;
                            
                         }
                         return toFormatYvalue(this.y);
                      }
                      if(this.y<0){
                         if(this.series.options.name=='Õ╣│õ╗è'){
                            this.series.options.dataLabels.y=12;
                         }else{
                            this.series.options.dataLabels.y=-6;
                         }
                         return toFormatYvalue(this.y);
                      }
                      
                      return toFormatYvalue(this.y);
                   }
                }
             }
          },
hobo6676
 
Posts: 13
Joined: Fri Jan 20, 2012 8:26 am

Re: How to solve the problem of overlapping by dataLabels?

Postby hobo6676 » Fri Feb 24, 2012 5:35 am

no body help me?
hobo6676
 
Posts: 13
Joined: Fri Jan 20, 2012 8:26 am

Re: How to solve the problem of overlapping by dataLabels?

Postby Fusher » Mon Feb 27, 2012 2:42 pm

Your image doesn't work for me. Would you like to use 'upload attachment' ? What are they overlaping? Each other? Try use http://www.highcharts.com/ref/#xAxis-la ... aggerLines
Paweł Fus
Highcharts support team
Fusher
 
Posts: 5312
Joined: Mon Jan 30, 2012 12:16 pm


Return to Highcharts Usage

Who is online

Users browsing this forum: Exabot [Bot], Fusher, Majestic-12 [Bot], The Rascal King and 10 guests