Comments (2)
I am not sure about inkscape but I think if you add
($(e).prop("tagName") == "text" ||
in the "checkEl" function, text works properly.
function checkEl(e) {
if ((
return true
} else {
return false
}
}
from svgreader-qv11.
as jonoogle said, if you change the line in the 3 script files:
- functions.js (line: 6)
- nosvg.js (line: 6)
- Scripts.js (line: 22)
by adding:
$(e).prop("tagName") == "text"
to the 'if' in the function the text will work!
the files are at:
C:\Users[user]\AppData\Local\QlikTech\QlikView\Extensions\Objects
open the svg for edit in notepad++ and you need to add the text at the end so it will be on top, before the </g>
tag closing
iv added this tags:
<text x="280" y="550" >HI</text>
<text x="115" y="500" >AK</text>
<text x="760" y="500" >FL</text>
<text x="755" y="380" >SC</text>
<text x="710" y="400" >GA</text>
<text x="650" y="400" >AL</text>
<text x="800" y="330" >NC</text>
<text x="650" y="345" >TN</text>
<text x="880" y="180" >RI</text>
<text x="860" y="180" >CT</text>
<text x="890" y="165" >MA</text>
<text x="895" y="75" >ME</text>
<text x="865" y="140" >NH</text>
<text x="845" y="130" >VT</text>
<text x="815" y="160" >NY</text>
<text x="840" y="220" >NJ</text>
<text x="790" y="210" >PA</text>
<text x="835" y="245" >DE</text>
<text x="830" y="265" >MD</text>
<text x="740" y="265" >WV</text>
<text x="685" y="305" >KY</text>
<text x="700" y="240" >OH</text>
<text x="660" y="180" >MI</text>
<text x="300" y="180" >WY</text>
<text x="280" y="100" >MT</text>
<text x="180" y="150" >ID</text>
<text x="120" y="50" >WA</text>
<text x="430" y="450" >TX</text>
<text x="70" y="280" >CA</text>
<text x="190" y="360" >AZ</text>
<text x="140" y="230" >NV</text>
<text x="220" y="260" >UT</text>
<text x="320" y="280" >CO</text>
<text x="300" y="370" >NM</text>
<text x="95" y="125" >OR</text>
<text x="420" y="100" >ND</text>
<text x="420" y="160" >SD</text>
<text x="430" y="225" >NE</text>
<text x="520" y="210" >IA</text>
<text x="600" y="410" >MS</text>
<text x="640" y="260" >IN</text>
<text x="600" y="250" >IL</text>
<text x="500" y="130" >MN</text>
<text x="580" y="160" >WI</text>
<text x="540" y="290" >MO</text>
<text x="545" y="375" >AR</text>
<text x="450" y="360" >OK</text>
<text x="440" y="290" >KS</text>
<text x="560" y="475" >LA</text>
<text x="790" y="280" >VA</text>
<text x="805" y="250" >DC</text>
from svgreader-qv11.
Related Issues (20)
- Reversion caused hoverbox error to reappear HOT 1
- Description refers to missing 'maps info.xlsx' ... cannot find this HOT 1
- Max svg file size that extension accepts? HOT 1
- Hoverbox Error HOT 4
- Legend HOT 3
- Color Bug?
- Map refresh HOT 8
- us.svg map is invalid
- Some path are hidden when making selections HOT 1
- Print Map extension in Pdf Report
- Memory leak HOT 1
- Singapore in World map
- SVG for Safari
- SVG Controls only display on one map
- Broken in latest version of QLikSense
- Can you provide the Maps Info.xlsx Excel file please?
- Refresh Svg Reader
- svgReader + NPrinting
- Not working with Version 12 November 2018
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svgreader-qv11.