<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: error with extension D3 chord in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270105#M1236883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;File script.js&amp;nbsp; in attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2016 12:58:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-02T12:58:08Z</dc:date>
    <item>
      <title>error with extension D3 chord</title>
      <link>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270103#M1236879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having troubles with my object extension D3 Chord in Qlikview 11.2 : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;With Firefox : &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;An error occurred in the postpaint-function in the extension object: &lt;/P&gt;&lt;P&gt;undefined&lt;/P&gt;&lt;P&gt;_______________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;With IE :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;An error occurred in the postpaint-function in the extension object: &lt;/P&gt;&lt;P&gt;d3 est indéfini&lt;/P&gt;&lt;P&gt;_______________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go to another sheet and come back no error anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get rid of this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JPC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270103#M1236879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: error with extension D3 chord</title>
      <link>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270104#M1236880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;it sounds to me like you're trying to load something before it exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share your script.js?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 12:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270104#M1236880</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-12-02T12:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: error with extension D3 chord</title>
      <link>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270105#M1236883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;File script.js&amp;nbsp; in attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 12:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270105#M1236883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-02T12:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: error with extension D3 chord</title>
      <link>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270106#M1236885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I am relatively new to JS myself but I looks to me like your D3 isn't going to load before the extension that way because its not being called anywhere.&lt;/P&gt;&lt;P&gt;I've got a template you can use if you like, I personally find it really useful to keep everything organised:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-17209"&gt;Zero to D3 Extension in a few easy steps with an improved template&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However you should be able to do it this way, sorry its a very quick edit so apologies if I have made a stupid error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wrap the script load in a function:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14809279397584720" jivemacro_uid="_14809279397584720"&gt;
&lt;P&gt;function loadScripts(){&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Qva.LoadScript('&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://d3js.org/d3.v3.min.js',initData);" rel="nofollow" target="_blank"&gt;http://d3js.org/d3.v3.min.js',initData);&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then change your initiation at the bottom to be:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14809280933291123 jive_text_macro" jivemacro_uid="_14809280933291123"&gt;
&lt;P&gt;if(!initialised) {&lt;/P&gt;
&lt;P&gt;loadScripts();&lt;/P&gt;
&lt;P&gt;initChart();&lt;/P&gt;
&lt;P&gt;initialised = true }&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 08:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270106#M1236885</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-12-05T08:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: error with extension D3 chord</title>
      <link>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270107#M1236889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was this of any use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 07:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270107#M1236889</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-12-09T07:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: error with extension D3 chord</title>
      <link>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270108#M1236892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm behind a reverse proxy. I have to do some checks before coming back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 08:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-with-extension-D3-chord/m-p/1270108#M1236892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-09T08:13:59Z</dc:date>
    </item>
  </channel>
</rss>

