ql_maxg Posted June 21, 2016 Report Share Posted June 21, 2016 Hello! Just found another bug: http://jsfiddle.net/t8ufarc3/17/ Please note, script produced 2 elements: <div id="chart" class="jchartfx"> ... and <svg width="832" height="400" xmlns="http://www.w3.org/2000/svg"xmlns:sfx="http://www.softwarefx.com/ns" xmlns:xlink="http://www.w3.org/1999/xlink" id="chart" class="jchartfx">... ---------- with the same id="chart", that should be fixed, it causes some issues in my app. Quote Link to comment Share on other sites More sharing options...
0 JuanC Posted June 21, 2016 Report Share Posted June 21, 2016 We do generate those 2 divs, one for measuring and the second one is the svg rendering of the chart. We will research if we can rename the measuring one but you never specified which issue is caused in your app as maybe there is a workaround for it. JuanC Quote Link to comment Share on other sites More sharing options...
0 ql_maxg Posted June 22, 2016 Author Report Share Posted June 22, 2016 There are 2 issues: 1 HTML/xHTML not valid with 2 identical IDs of elements. 2 It produces a buggy PNG exported image with 2 canvases overlapped. Quote Link to comment Share on other sites More sharing options...
0 JuanC Posted June 23, 2016 Report Share Posted June 23, 2016 Our current internal build will not assign an ID to the first div (used for rendering). This should be part of the pre-release bits soon. Also note that if you have 2 charts in a page, we will be changing the ID of the second (and so on) svgs. In reality we do not need that ID at all but we are afraid we might break somebody who is using getElementById to get to the svg element. Regards, JuanC Quote Link to comment Share on other sites More sharing options...
0 ql_maxg Posted June 24, 2016 Author Report Share Posted June 24, 2016 Please let me know when pre-release is available Quote Link to comment Share on other sites More sharing options...
0 JuanC Posted June 27, 2016 Report Share Posted June 27, 2016 We just uploaded a new pre-release build that should fix the duplicate IDs issue. Regards, JuanC Quote Link to comment Share on other sites More sharing options...
Question
ql_maxg
Hello!
Just found another bug:
http://jsfiddle.net/t8ufarc3/17/
Please note, script produced 2 elements:
<div id="chart" class="jchartfx"> ...
and
<svg width="832" height="400" xmlns="http://www.w3.org/2000/svg"xmlns:sfx="http://www.softwarefx.com/ns" xmlns:xlink="http://www.w3.org/1999/xlink" id="chart" class="jchartfx">...
----------
with the same id="chart", that should be fixed, it causes some issues in my app.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.