ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  HOW TO FIT THE GRAPH TO THE SIZE OF SCREEN
Posted by Mikey on Dec-12-2014 20:28
HELLO

How can I adjust the size of my graph according to the screen size.My application is in jsp
and its a web application.

  Re: HOW TO FIT THE GRAPH TO THE SIZE OF SCREEN
Posted by Peter Kwan on Dec-13-2014 03:10
Hi Mikey,

You need to write code to detect the screen size. Then you can send a request to the web
server with the screen size. (These two parts need to be written using Javascript.) The
server can then create the chart at the proper screen size.

For charts without user interactions (like tooltips, drag to scroll, etc), you can also just
create a fixed sized chart, and change the display size by using HTML/CSS to make with the
screen size.

Hope this can help.

Regards
Peter Kwan