Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
Several different incarnations of my svgReader extension exist out there on community, hidden on QlikMarket, etc. and it's difficult making updates and pointing people to the most recent version. Also, I plan on making some major enhancements to it soon, and I want to make sure people know where to go to get the latest and greatest version.
So, I've decided to start hosting the extension on GitHub:
https://github.com/brianwmunz/svgReader-QV11
I'll be making all bug fixes and enhancements within this repository so please download the extension from here from now on.
Also, I greatly encourage you to add your own SVG maps to the repository so we can all benefit from the maps people have been making.
Thanks!
Hi Brian,
Thank you for the extension, it's quite awesome.
I've installed it on my personal machine and everything works fine. However, having installed it at work I'm experiencing some issues and I wonder if you could please help me out?
The problem is with shading / coloring. I'm using the same formula for Measure and Popup Contents, which calculates and assigns correct values to the correct regions ( on the World Map SVG). However all 'enabled' regions for which there are data and values are appearing white without any shading. Regardless of what I do in Color Expression, the color of any region won't change (it stays white). I can see the outline (Element Border check box ticked) and values for every region if I hover (so pop up works), but the color remains white.
The above applies even on the examples provided with QAR on github (like sweden.qvw), where again all elements appear white.
QV version 11.0.11440.0 SR2
IE version 8.0
Any help will be much appreciated.
Thanks,
Andrey
Ramu
Were you able to get text to generate in the reader?
I am able to generate the text in svg, but the reader does not pick up this content
Thanks,
Brian
Tom,
Have you had any luck with this?
Needing to do the same thing.
Thanks,
Brian
Hi Brian,
I've been using the svgReader extension for a while now and it work's like a charm.. However I've been having a few difficulties displaying the svg text elements on the extensions? Are the svg text elements supported via this extension?
Thanks.
Saket,
I was able to get text to come through by converting text object to path.
I am not sure of the software you are using to create the svg flies, but in inkscape you select all, or select the text you want to show up and choose "Path" from the main menu, then "Object to Path".
Thanks
Hi Brian.. Thanks for the reply.
I'm building custom data-hall floor-plan SVGs using Qlikview macro (VBScript.) Basically i'm reading the data rack co-ordinates and plotting those on a SVG using <rect> element. I build an XML and write it to an SVG file. It works like charm for the rectangles i'm creating to depict the racks. Similarly I'm using SVG <text> element to label the racks & rows. The text labels do appear when i open up the SVG in an browser but i don't see these labels in the SVGReader extension.
Am i missing something here? What do you mean when you say "by converting text object to path"?
Any guidance on this would be very much appreciated!
Thanks.
Saket,
You are creating your svg files a little different than I am. I found the same difficulty as you. I utilized inkscape to create my svg files though. Text objects created in inkscape did not work in this extension, but I found by using the "Object to Path" selection it converted the Text objects to paths which the svg reader was able to display. This allowed the svg reader to display the text as plotted coordinates as opposed to text objects. I am not sure how that would be implemented in your method though, apologies.
Thanks,
Brian
Thanks a lot Brian.. This pointer was really helpful!
Now i need to figure out how to convert text object to path within my XML.
Thanks!
-- Update --
As it turns out converting a svg text-object to path will not be so straight-forward using VBA macro. Is there anyway I can allow the <text> elements within the svgReader extension? Any help will be really appreciated.
Brian, first let me thank you for this amazing extension - we used this for a couple projects and it is awesome!
The only problem (or question) we have - we want to show the numbers some text captions associated with every area and as far as I can tell we can only have pop-ups so it will require to hover a mouse over area to see associated text/numbers.
Is there a way to put labels on the SVG map itself?
Hey All,
I download Extension Zip file and installed... But following error is thrown when i start working on..
Can i know why it happens.
And can i know how to can change Size of map..Can you please be indetail I have zero Java Script Knowledge.
Thanks.!