Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
igDataChart on BootStrap
posted

Goodmorning,

i use IgniteUI Controls on ASP.NET MVC Project , with Bootstrap Framework. The igGrid in a boostrap container fits perfect and when resize the Browser does it's job good with the responsive UI. How can i achieve that with the igDataChart?I want the Chart to fit in a bootstrap container and resize when i resize the browser in order to make a responsive UI screen in my application.

Thanks in advance,

Ilias

Parents
No Data
Reply
  • 1100
    Offline posted

    Hi LLias,

    Thank you for using Infragistics` IgniteUI!

    What you want can be achieved but in slightly different approach. The igDataChart is in a "canvas" element so it is not resized the way igGrid is when using Bootstrap.

    The easiest way to go around this is by placing the Chart inside a container element and setting this container`s dimensions in percent (%) and not in pixels (px). The Chart`s width and height options should be also set in percent.

    I hope this help.

    If you have any issues implementing it - don`t hesitate to ask.

    Regards,

    Alexander Marinov - Associate Software Engineer in Test

Children