Jump to content
Software FX Community

Image resizing


User (Legacy)

Recommended Posts

I am using ChartFX For .Net 6.2, and i have a bubble chart on my aspx 

page.....it is within a table cell, and i have set the chart width = 100%

and height = 100%.

When I set the HtmlTag = ".Net", it works fine (the chart resizes to

whatever the table cell width is)....when I set the HtmlTag = "Image", the

chart does not take the height and width of 100%....it becomes a lot

smaller....is there a way around this, or do i have to explicitly set the

height and width to certain values?

Thanks,

Tejash

Link to comment
Share on other sites

Only charts generated as objects (.NET or ActiveX) will support using a 

percentage value for the chart size (100%). Unfortunately, images require a

pixel dimension. You can set the ImgWidth and ImgHeight properties

specifically. This will only affect the chart when rendered as an image:

chart1.ImgHeight = 400;

chart1.ImgWidth = 550;

"Tejash Patel" <tjpatel403@gmail.com> wrote in message

news:5EFe1VkqFHA.1992@webserver3.softwarefx.com...

>I am using ChartFX For .Net 6.2, and i have a bubble chart on my aspx

>page.....it is within a table cell, and i have set the chart width = 100%

>and height = 100%.

>

> When I set the HtmlTag = ".Net", it works fine (the chart resizes to

> whatever the table cell width is)....when I set the HtmlTag = "Image", the

> chart does not take the height and width of 100%....it becomes a lot

> smaller....is there a way around this, or do i have to explicitly set the

> height and width to certain values?

>

> Thanks,

> Tejash

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...