<?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 Deneb Graph/Chart Issue: No Data Displayed in Embedded Power BI Report in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Graph-Chart-Issue-No-Data-Displayed-in-Embedded-Power-BI/m-p/3818574#M9416</link>
    <description>&lt;P&gt;I have tried both the standard and standalone versions of Deneb, but I keep encountering an issue where the data does not display in the chart, such as the bars in my simple bar chart in my Power Embedded Report used in React. Everything else in my Power Embedded Report functions correctly except for the Deneb chart. This leads me to believe that Deneb is either misconfigured, there is a glitch, or the dataset I am using is too large.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, the Deneb chart works properly when viewing the report directly on the Power BI app website. But when I try loading it on my domain using powerbi-client-react, it does not show any bars (data); it only displays an empty chart with labels on the x-axis.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Yes, the data does appear in the table when I right-click the chart and select "View Table," so the data is there and visible.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have also tried both SVG and canvas rendering methods, but neither made a difference.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;No, there are no errors in my console, and Deneb is loading, showing me the version and everything, so it should work, but it does load in any data.&lt;BR /&gt;&lt;BR /&gt;Here is the code I am using in my deneb-chart:&lt;BR /&gt;&lt;BR /&gt;Specification:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "data": [{"name": "dataset"}],
  "scales": [
    {
      "name": "xscale",
      "type": "band",
      "domain": {
        "data": "dataset",
        "field": "productname"
      },
      "range": "width",
      "padding": 0.1,
      "round": true
    },
    {
      "name": "yscale",
      "domain": {
        "data": "dataset",
        "field": "Sum of total_sold"
      },
      "nice": true,
      "range": "height"
    }
  ],
  "axes": [
    {
      "orient": "bottom",
      "scale": "xscale",
      "title": "productname",
      "labelAngle": -90,
      "labelAlign": "right",
      "labelBaseline": "middle"
    },
    {
      "scale": "yscale",
      "orient": "left",
      "title": "Sum of total_sold",
      "tickCount": 5
    }
  ],
  "marks": [
    {
      "type": "rect",
      "from": {"data": "dataset"},
      "encode": {
        "enter": {
          "x": {
            "scale": "xscale",
            "field": "productname"
          },
          "width": {"value": 5},
          "y": {
            "scale": "yscale",
            "field": "Sum of total_sold"
          },
          "y2": {
            "scale": "yscale",
            "value": 0
          }
        }
      }
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;Config:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "autosize": {
    "contains": "padding",
    "type": "fit"
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Here is how it should look like (what it looks like viewing it in the powerbi app website):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oskars_0-1712566571981.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1074222iA43FAF3DEC15A0CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oskars_0-1712566571981.png" alt="oskars_0-1712566571981.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And this is how it looks using power bi embedded in my react project:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oskars_1-1712566596447.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1074225i1A4EA00008B74ED9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oskars_1-1712566596447.png" alt="oskars_1-1712566596447.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the weird thing is, it worked like the first time using the chart but after a while it went to 50/50 when loading in the embedded report and now it never works.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2024 09:07:35 GMT</pubDate>
    <dc:creator>oskar-s</dc:creator>
    <dc:date>2024-04-08T09:07:35Z</dc:date>
    <item>
      <title>Deneb Graph/Chart Issue: No Data Displayed in Embedded Power BI Report</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Graph-Chart-Issue-No-Data-Displayed-in-Embedded-Power-BI/m-p/3818574#M9416</link>
      <description>&lt;P&gt;I have tried both the standard and standalone versions of Deneb, but I keep encountering an issue where the data does not display in the chart, such as the bars in my simple bar chart in my Power Embedded Report used in React. Everything else in my Power Embedded Report functions correctly except for the Deneb chart. This leads me to believe that Deneb is either misconfigured, there is a glitch, or the dataset I am using is too large.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, the Deneb chart works properly when viewing the report directly on the Power BI app website. But when I try loading it on my domain using powerbi-client-react, it does not show any bars (data); it only displays an empty chart with labels on the x-axis.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Yes, the data does appear in the table when I right-click the chart and select "View Table," so the data is there and visible.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have also tried both SVG and canvas rendering methods, but neither made a difference.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;No, there are no errors in my console, and Deneb is loading, showing me the version and everything, so it should work, but it does load in any data.&lt;BR /&gt;&lt;BR /&gt;Here is the code I am using in my deneb-chart:&lt;BR /&gt;&lt;BR /&gt;Specification:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "data": [{"name": "dataset"}],
  "scales": [
    {
      "name": "xscale",
      "type": "band",
      "domain": {
        "data": "dataset",
        "field": "productname"
      },
      "range": "width",
      "padding": 0.1,
      "round": true
    },
    {
      "name": "yscale",
      "domain": {
        "data": "dataset",
        "field": "Sum of total_sold"
      },
      "nice": true,
      "range": "height"
    }
  ],
  "axes": [
    {
      "orient": "bottom",
      "scale": "xscale",
      "title": "productname",
      "labelAngle": -90,
      "labelAlign": "right",
      "labelBaseline": "middle"
    },
    {
      "scale": "yscale",
      "orient": "left",
      "title": "Sum of total_sold",
      "tickCount": 5
    }
  ],
  "marks": [
    {
      "type": "rect",
      "from": {"data": "dataset"},
      "encode": {
        "enter": {
          "x": {
            "scale": "xscale",
            "field": "productname"
          },
          "width": {"value": 5},
          "y": {
            "scale": "yscale",
            "field": "Sum of total_sold"
          },
          "y2": {
            "scale": "yscale",
            "value": 0
          }
        }
      }
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;Config:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "autosize": {
    "contains": "padding",
    "type": "fit"
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Here is how it should look like (what it looks like viewing it in the powerbi app website):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oskars_0-1712566571981.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1074222iA43FAF3DEC15A0CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oskars_0-1712566571981.png" alt="oskars_0-1712566571981.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And this is how it looks using power bi embedded in my react project:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oskars_1-1712566596447.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1074225i1A4EA00008B74ED9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oskars_1-1712566596447.png" alt="oskars_1-1712566596447.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the weird thing is, it worked like the first time using the chart but after a while it went to 50/50 when loading in the embedded report and now it never works.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 09:07:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Graph-Chart-Issue-No-Data-Displayed-in-Embedded-Power-BI/m-p/3818574#M9416</guid>
      <dc:creator>oskar-s</dc:creator>
      <dc:date>2024-04-08T09:07:35Z</dc:date>
    </item>
  </channel>
</rss>

