I want to set High resolution igDataChart.
100%
Zoom 250%
Thank you very much
Hello,
Thank you for using our community.
About your question, my suggestion is to use horizontalZoomable and/or verticalZoomable options of the chart. With their help you will be able to zoom in/out (with the mouse scroll).
http://help.infragistics.com/jQuery/2015.2/ui.igDataChart#options:horizontalZoomable
http://help.infragistics.com/jQuery/2015.2/ui.igDataChart#options:verticalZoomable
Online example:
http://jsfiddle.net/h99hmxc9/3/show/
Hi, Zdravko
I don't mean that.
I want to know how set resolution of the graph.
Graphs have greater resolution.
Because
when i print the graph to PDF, graph in PDF have Low Resolution
In that case my suggestion is to use option pixelScalingRatio, you can set it to 2 on the chart in order to increase the resolution. As a colleague of mine pointed out, on some browsers you can read what the DPI scaling ratio is (of the window) and apply that directly to this property.
Hi,Zdravko
Can you send me a example of the code or tell me where is the option that you mention earlier?
I am glad that I've managed to help you!
Thank you for using our products.
Hello Zdravko,
Thanks you very much.
I really appreciate that.
Hello Korakot,
I am glad that I've managed to help you.
About your questions:
1. I am not sure about that, I have suggested you to use 2 but it could be possibly more than 2. If you consider a value of 2 then your backing store will be double the canvas size in both width and height, and that means four times the amount of memory is required to service the chart canvas.
http://www.html5rocks.com/en/mobile/high-dpi/#toc-compress
http://www.html5rocks.com/en/tutorials/canvas/hidpi/
2. Yes it will, you can see the difference in my previous reply.
3. Currently we don't, although I have logged in our internal system a requirement to add the option description in our official api docs and also to add a specific article/sample for it (Work item #214388)
I have more questions ?
1. Setting pixelScalingRatio what is the maxinum/minimun limit?
2. if i put High pixelScalingRatio will it make graph better resolution?
3. Do u have document that explain about pixelScalingRatio?
I have modified the sample that I have sent you with my first reply.
http://jsfiddle.net/h99hmxc9/4/show/
Also below you will find image that is showing the difference before and after adding the pixelScallingRatio property.