Sign in to follow this  
thiagoalx

How To Remove Border From Msbar2D

Recommended Posts

Hi !

 

I need remove border from MSBar2D

Look what is happening:

 

post-30196-0-13725200-1348678839_thumb.png

 

I need add something in this line ?

 

$FC->setChartParams("caption=" .$sql_titulo. "; xAxisName=" .$sql_eixox. "; yAxisName=" .$sql_eixoy. "; decimalPrecision=3; ");

 

Any solution ?

Edited by thiagoalx

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

Please set canvasBorderAlpha to 0 to remove the entire border.

 

If you wish to remove only the right border, as is in the image file, I am afraid, it is not supported.

 

However, as a workaround you may set the chartRightMargin to 0.

Share this post


Link to post
Share on other sites

I add in the setChartParams the canvasBorderAlpha=0, but is not working, my chart show the borders.

I post the code, since i declare new FusionCharts until renderChart:

 

 

 

$FC = new FusionCharts($sql_tipo_grafico,$sql_grafico_largura,$sql_grafico_altura);

//Diretório que contem os arquivos flash

$FC->setSwfPath("lyncis_painel/charts/");

//Definindo legendas

$sql_titulo = $con->consultarTitulo($sql);

$sql_eixox = $con->consultaEixoX($sql);

$sql_eixoy = $con->consultaEixoY($sql);

$FC->setChartParams("caption=" .$sql_titulo. "; xAxisName=" .$sql_eixox. "; yAxisName=" .$sql_eixoy. "; decimalPrecision=3;canvasBorderAlpha=0");

//Definindo itens

$sql_select_executa = pg_query($sql_select);

$linhas = pg_num_rows($sql_select_executa);

//Loop variando de acordo com a quantidade de itens

for($lin = 0; $lin < $linhas; ++$lin)

{

$sql_row = pg_fetch_row($sql_select_executa);

//Carrega Categoria

$FC->addCategory($sql_row[0]);

//Carrega Valores

$FC->addChartData($sql_row[1]);

}

//Gera o gráfico e mostra na tela

$FC->renderChart();

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

canvasBorderAlpha attribute is not supported in FusionCharts Free version.

 

This attribute supported and many other advanced features are supported in FusionCharts XT v3.2.2.

 

For more information, please refer the following URL:

http://www.fusioncharts.com/goodies/fusioncharts-free/compare/

 

You can get trial version of FusionCharts XT v3.2.2 from here: http://www.fusioncharts.com/download/trials/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this