<?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 Inherit from other visuals? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/543285#M16860</link>
    <description>&lt;P&gt;I want to make a small change to an existing visual but I dont want to have to worry about maintainence. I know that I can place the link to the git repo in my package.json. Is it then possible to inherit from the visual and simply override a function? I would like it to look something like this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;class MyVisual extends OtherVisual {

   constructor(options: VisualConstructorOptions){
        super(options: VisualConstructorOptions);
    }

    public update(options){
        //my new code here
        super.update(options);
    }
}&lt;/PRE&gt;&lt;P&gt;Is it possible to do something like this? Any answer would be helpful!&lt;/P&gt;</description>
    <pubDate>Tue, 16 Oct 2018 10:21:42 GMT</pubDate>
    <dc:creator>bfialkoff</dc:creator>
    <dc:date>2018-10-16T10:21:42Z</dc:date>
    <item>
      <title>Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/543285#M16860</link>
      <description>&lt;P&gt;I want to make a small change to an existing visual but I dont want to have to worry about maintainence. I know that I can place the link to the git repo in my package.json. Is it then possible to inherit from the visual and simply override a function? I would like it to look something like this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;class MyVisual extends OtherVisual {

   constructor(options: VisualConstructorOptions){
        super(options: VisualConstructorOptions);
    }

    public update(options){
        //my new code here
        super.update(options);
    }
}&lt;/PRE&gt;&lt;P&gt;Is it possible to do something like this? Any answer would be helpful!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 10:21:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/543285#M16860</guid>
      <dc:creator>bfialkoff</dc:creator>
      <dc:date>2018-10-16T10:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/544316#M16899</link>
      <description>&lt;P&gt;Yes, it's possible. You just need to add another visual into compilition pipeline and import required dependencies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 08:24:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/544316#M16899</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-10-17T08:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/544401#M16902</link>
      <description>&lt;P&gt;That doesn't sound like its terribly complicated but I'm afraid I don't understand. Could you give a more detailed answer?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 09:15:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/544401#M16902</guid>
      <dc:creator>bfialkoff</dc:creator>
      <dc:date>2018-10-17T09:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/545695#M16960</link>
      <description>&lt;P&gt;What custom visual do you want to inherit?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 11:24:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/545695#M16960</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-10-18T11:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/545696#M16961</link>
      <description>Chiclet Slicer.</description>
      <pubDate>Thu, 18 Oct 2018 11:25:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/545696#M16961</guid>
      <dc:creator>bfialkoff</dc:creator>
      <dc:date>2018-10-18T11:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/545713#M16967</link>
      <description>&lt;P&gt;You just need to install Chiclet Slicer as a dependency via NPM. After that please add&amp;nbsp;&lt;A href="https://github.com/Microsoft/PowerBI-visuals-ChicletSlicer/blob/master/tsconfig.json#L11" target="_self"&gt;TS files&lt;/A&gt;&amp;nbsp;into your tsconfig.json. Please do the same for externalJS from pbiviz.json.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After these steps you will be able to import Chiclet Slicer to inherit it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 11:39:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/545713#M16967</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-10-18T11:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/545719#M16969</link>
      <description>That is list the github repo in my package.json as a dependancy, the path to all of the .ts files in the chiclet slicers src folder to my tsconfig. What should be added to externalJS?</description>
      <pubDate>Thu, 18 Oct 2018 11:41:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/545719#M16969</guid>
      <dc:creator>bfialkoff</dc:creator>
      <dc:date>2018-10-18T11:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/546695#M17007</link>
      <description>&lt;P&gt;The same what is listed in Chiclet Slicer: &lt;A href="https://github.com/Microsoft/PowerBI-visuals-ChicletSlicer/blob/master/pbiviz.json#L20" target="_self"&gt;https://github.com/Microsoft/PowerBI-visuals-ChicletSlicer/blob/master/pbiviz.json#L20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 07:26:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/546695#M17007</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-10-19T07:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/555152#M17353</link>
      <description>&lt;P&gt;Can you clarify what does the import statement look like? I have followed your instructions, I currently have the link to chiclet-slicers github repo listed in my depenencies, I have copied the urls in the externalJS, and tsconfig. I don't know what to do from here. I've tried various import statements nothing seems to work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 13:02:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/555152#M17353</guid>
      <dc:creator>bfialkoff</dc:creator>
      <dc:date>2018-10-29T13:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/555850#M17377</link>
      <description>&lt;PRE&gt;import ChicletSlicer  = powerbi.extensibility.visual.ChicletSlicer;&lt;/PRE&gt;
&lt;P&gt;Have you tried such an import?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 06:51:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/555850#M17377</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-10-30T06:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/557522#M17463</link>
      <description>&lt;P&gt;Accepted too soon. The import worked but the viusal doesn't:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import ChicletSlicer  = powerbi.extensibility.visual.ChicletSlicer;

    export class myVisual extends ChicletSlicer {
            constructor(options){
            super(options)
        }

        public update(options) {
            super.update(options)
        }

    }&lt;/PRE&gt;&lt;P&gt;for a moment it compiled but it showed me the the developer visual in its default state, the one with the update counter. Now it doesn't even do that. I get the following error printout:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="large.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/129630i63594575A942CF76/image-size/large?v=v2&amp;amp;px=999" role="button" title="large.png" alt="large.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(in case the image is too small)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; error  TYPESCRIPT  /src/visual.ts : (1,54) Property 'ChicletSlicer' does not exist on type 'typeof visual'.
 error  TYPESCRIPT  /src/visual.ts : (1,54) Namespace 'powerbi.extensibility.visual' has no exported member 'ChicletSlicer'.
 error  TYPESCRIPT  /visualPlugin.ts : (8,158) Property 'Visual' does not exist on type 'typeof testInherticane714AE1C1ED164D2482B6C0D7F435F057'.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 11:53:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/557522#M17463</guid>
      <dc:creator>bfialkoff</dc:creator>
      <dc:date>2018-10-31T11:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/559121#M17508</link>
      <description>&lt;P&gt;Did you put a proper class name into&amp;nbsp;&lt;STRONG&gt;visualClassName&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 10:41:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/559121#M17508</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-11-02T10:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/563054#M17559</link>
      <description>&lt;P&gt;Guys im new to power bi, i Could'nt understand what your Conversations is about? What is that code?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please do explain me , i want learn.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 07:16:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/563054#M17559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-09T07:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inherit from other visuals?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/564004#M17570</link>
      <description>&lt;P&gt;This is about extending the exisitng Custom Visuals.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To find out more about the code please look into &lt;A href="https://microsoft.github.io/PowerBI-visuals/docs/overview/" target="_blank"&gt;documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 07:28:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Inherit-from-other-visuals/m-p/564004#M17570</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-11-12T07:28:28Z</dc:date>
    </item>
  </channel>
</rss>

