<?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 Modifying graphs through JS library in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Modifying-graphs-through-JS-library/m-p/732070#M19885</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My company is attempting to create an embedded visuals tool for PowerBI, we want to be able to view and share templates internally; with some users having the ability to clone and edit the visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were hoping that users could load in a visual on a pre-existing report and clone it then modify the data fields or add filters with a non-embeddded drag&amp;amp;drop UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to load in an embedded visual, grab the column headers through returning one row of the data set, and assumed we could modify the visualization through 'visual.getCapabilities' and 'visual.addDataField' as shown in the visual showcase of custom graphs:&amp;nbsp;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript/blob/master/demo/v2-demo/live_showcases/quick_visual_creator/showcase_quick_visual_creator.js#L404" target="_blank"&gt;https://github.com/microsoft/PowerBI-JavaScript/blob/master/demo/v2-demo/live_showcases/quick_visual_creator/showcase_quick_visual_creator.js#L404&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it seems that these functions are not available when using the js library, or are only available for originally made 'custom' graphs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I doing something wrong here or missing something about this functionality? Will we just have to use the 'edit' mode if users want to modify a pre-existing report/visual/template?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2019 19:33:02 GMT</pubDate>
    <dc:creator>MoMitch</dc:creator>
    <dc:date>2019-07-04T19:33:02Z</dc:date>
    <item>
      <title>Modifying graphs through JS library</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Modifying-graphs-through-JS-library/m-p/732070#M19885</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My company is attempting to create an embedded visuals tool for PowerBI, we want to be able to view and share templates internally; with some users having the ability to clone and edit the visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were hoping that users could load in a visual on a pre-existing report and clone it then modify the data fields or add filters with a non-embeddded drag&amp;amp;drop UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to load in an embedded visual, grab the column headers through returning one row of the data set, and assumed we could modify the visualization through 'visual.getCapabilities' and 'visual.addDataField' as shown in the visual showcase of custom graphs:&amp;nbsp;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript/blob/master/demo/v2-demo/live_showcases/quick_visual_creator/showcase_quick_visual_creator.js#L404" target="_blank"&gt;https://github.com/microsoft/PowerBI-JavaScript/blob/master/demo/v2-demo/live_showcases/quick_visual_creator/showcase_quick_visual_creator.js#L404&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it seems that these functions are not available when using the js library, or are only available for originally made 'custom' graphs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I doing something wrong here or missing something about this functionality? Will we just have to use the 'edit' mode if users want to modify a pre-existing report/visual/template?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 19:33:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Modifying-graphs-through-JS-library/m-p/732070#M19885</guid>
      <dc:creator>MoMitch</dc:creator>
      <dc:date>2019-07-04T19:33:02Z</dc:date>
    </item>
  </channel>
</rss>

