sivatech001 Report post Posted December 4, 2008 Hi, How do I call images for the following ranges which is shown in the following screen shot. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> I can show the bar using the final value which is got from database. My question is, 1. How do I set the limits which is described in the above screen shot. Also I want to call the images for each and every ranges which is to be shown in the above image. 2. Let us know the simple code sample ie, how to call the images in the ranges which I mentioned. 3. Can you please send me your sample code the above similar functionality(XML code) which is to be calling the images in the given specified ranges. Thanks, Siva. Share this post Link to post Share on other sites
Arindam Report post Posted December 5, 2008 Hi, Could you please follow this sample code? see attachment. HLinearGauge.zip Share this post Link to post Share on other sites
sivatech001 Report post Posted December 5, 2008 Hi, Its work. Share this post Link to post Share on other sites
Maalan Report post Posted December 10, 2008 Hi Team, 1. Is it possible to add the toolText for the image and pointer separately? 2. The interval of the Marker is different values. for an eg. upperLimit='1000000' lowerLimit='0'. Setting trendpoint values are 2500, 5000, 7500, 10000... 15000, 20000, 30000, 40000, 50000, 75000. 100000, 1250000... 9750000 and 1000000, Here the values incremented what we assigned not a decided value incremental. In each trendpoint has loaded images. Using the width & height of the image 115 x 90. Size of the chart (w & h) 3000 x 120. while we place image above the pixel range, the image placed scale value is greater than the pointer value. Can we have chance to place the image and pointer in exact location. 3. The chart length is large ie. 3000. There is no scroll option for this chart so using iframe there is any chance to show the exact pointer value, ie. automatically scroll the iframe bar for the pointer value?( for an example I need the scroll bar to be placed in my exact value like 150000 and more... without user scroll the iframe bar) 4. Is it possible to load the image in Tooltip. Thanks Share this post Link to post Share on other sites
FusionCharts Support Report post Posted December 10, 2008 Hi Maalan, 1. Is it possible to add the toolText for the image and pointer separately? >> You CAN add tooltext to annotation group as well as pointer. Please follow documentation .http://www.fusioncharts.com/widgets/docs 2. The interval of the Marker is different values. for an eg. upperLimit='1000000' lowerLimit='0'. Setting trendpoint values are 2500, 5000, 7500, 10000... 15000, 20000, 30000, 40000, 50000, 75000. 100000, 1250000... 9750000 and 1000000, Here the values incremented what we assigned not a decided value incremental. In each trendpoint has loaded images. Using the width & height of the image 115 x 90. Size of the chart (w & h) 3000 x 120. while we place image above the pixel range, the image placed scale value is greater than the pointer value. Can we have chance to place the image and pointer in exact location. >> You can put images in exact pixel location using annotaion (and then can use auto-scale to scale image whenever the chart dimension chages) 3. The chart length is large ie. 3000. There is no scroll option for this chart so using iframe there is any chance to show the exact pointer value, ie. automatically scroll the iframe bar for the pointer value?( for an example I need the scroll bar to be placed in my exact value like 150000 and more... without user scroll the iframe bar) >> The chart can not show up a scroll zone. Again, the chart does nots automatiacally communicates to the container window to scroll to pointer.But, you can write JavaScript code to scroll to that position in case you can track the position in the page. 4. Is it possible to load the image in Tooltip. >> Yes, using HTML Encoded <img> html element. You would need to set the font style of the tooltip having isHTML='1' and HTML encode the IMG tag and put it in tooltext's value. e.g. tooltext='<img src='myImage.jpg' >' [ if you are using dataURL method-XML form file/URL] or tooltext='%26lt;img src=%26apos;myImage.jpg%26apos; %26gt;' [ if you are using dataXML method- XML from string] Share this post Link to post Share on other sites
Maalan Report post Posted December 15, 2008 Hi Team, Thanks... Above my doubts were cleared. Any width limitations for this chart??, am using the chart width 8000px. I load the images using annotation but all the images and background are not loaded, . ie. the images are loaded with in 4000 pixels only, remaining width of the chart images are not loaded. I gave the width of the chart in .....var chart = new FusionCharts("http://localhost:80/graphs/Charts/HLinearGauge.swf", "2", "8000", "150");" and in xml... origW='8000'. Share this post Link to post Share on other sites