<?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: Custom Visual component for Dashboards and Notebooks in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268307#M1278</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/78579"&gt;@Zoltan&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;Can you be more specific about what you're missing with the categorical bar chart?&lt;/P&gt;
&lt;P&gt;JFYI the visualizatiuon already supports stacking / grouping.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2025 09:53:32 GMT</pubDate>
    <dc:creator>MikeleH</dc:creator>
    <dc:date>2025-01-24T09:53:32Z</dc:date>
    <item>
      <title>Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268306#M1277</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We can't seem to be able to fit our requirements for data visualization into the current dashboard visual "Categorical", as we require some additional stacking / grouping.&lt;/P&gt;&lt;P&gt;Is there any plan in the future to be able to deploy our own corporate custom visual for dashboards and / or notebooks, that we could then select from the list of visuals?&lt;/P&gt;&lt;P&gt;Even if the settings page would be a json or a yaml, it would still be quite useful. There's a lot we could do without actually going with full blown custom app extension - without having to do the whole page with a custom app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example, I have a dashboard where I already have 10 + timeseries bar chart.&lt;/P&gt;&lt;P&gt;Now, because of this request I have to add 2 custom non timeseries based stacked bar charts, it seems to me that currently my only option is to rebuild the whole page as a custom extension app page, but it means I have to rebuild the 10 existing visuals as well on the page (customers want all of this on one page).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zoltan&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 09:50:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268306#M1277</guid>
      <dc:creator>Zoltan</dc:creator>
      <dc:date>2025-01-24T09:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268307#M1278</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/78579"&gt;@Zoltan&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;Can you be more specific about what you're missing with the categorical bar chart?&lt;/P&gt;
&lt;P&gt;JFYI the visualizatiuon already supports stacking / grouping.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 09:53:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268307#M1278</guid>
      <dc:creator>MikeleH</dc:creator>
      <dc:date>2025-01-24T09:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268311#M1279</link>
      <description>&lt;P&gt;Hi Mikele,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the prompt reply.&lt;/P&gt;&lt;P&gt;I can't seem to find how to display these records, so that each bar is a data.area, and each bar is stacked by pg_int. I can do that with Bar chart, but Bar chart requires a time field. Histogram requires a range, that's not applicabe here either - it's just classical sub category.&lt;/P&gt;&lt;P&gt;For the sake of simplicity, here's a sample data that represents the structure that I fetch with some more complext DQL:&lt;/P&gt;&lt;P&gt;data json: """&lt;BR /&gt;[{&lt;BR /&gt;"pg_int": "1",&lt;BR /&gt;"data.area": "01A",&lt;BR /&gt;"num_items": 32730&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"pg_int": "2",&lt;BR /&gt;"data.area": "02A",&lt;BR /&gt;"num_items": 8640&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"pg_int": "1",&lt;BR /&gt;"data.area": "02A",&lt;BR /&gt;"num_items": 36276&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"pg_int": "2",&lt;BR /&gt;"data.area": "02A",&lt;BR /&gt;"num_items": 4320&lt;BR /&gt;}]&lt;BR /&gt;"""&lt;/P&gt;&lt;P&gt;When I look at&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.dynatrace.com/design/components-preview/charts/CategoricalBarChart/" target="_blank"&gt;https://developer.dynatrace.com/design/components-preview/charts/CategoricalBarChart/&lt;/A&gt;&amp;nbsp;it's quite straight forward how to do stacked bars based on sub categories, but I can't seem to find any information on how to achieve the same with&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/analyze-explore-automate/dashboards-and-notebooks/edit-visualizations/visualization-chart-bar-categorical" target="_blank"&gt;https://docs.dynatrace.com/docs/analyze-explore-automate/dashboards-and-notebooks/edit-visualizations/visualization-chart-bar-categorical&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And neither the doc mentions anything about how to select column for stacking.&lt;/P&gt;&lt;P&gt;Screenshots attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 10:48:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268311#M1279</guid>
      <dc:creator>Zoltan</dc:creator>
      <dc:date>2025-01-24T10:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268442#M1284</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/78579"&gt;@Zoltan&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;I think that the issue is the way in which your data is structured. Here are 2x examples that I just created:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-27 at 11.13.41.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25978i7E66E0C7532D8A6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-01-27 at 11.13.41.png" alt="Screenshot 2025-01-27 at 11.13.41.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; Let me know if this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 10:14:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268442#M1284</guid>
      <dc:creator>MikeleH</dc:creator>
      <dc:date>2025-01-27T10:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268471#M1288</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm having similar issue with categorical visualization.&lt;/P&gt;&lt;P&gt;The proposed solution seems to work with test data, but I see the record content has to be at the root level.&lt;/P&gt;&lt;P&gt;By working with logs, I managed to build a record similar to your example but the created record is inside a field, not at the root.&lt;/P&gt;&lt;P&gt;If I take your example it would look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(r = record(name = "01A", pg_int_1 = 32730, pg_int_2 = 0)),
record(r =record(name = "02A", pg_int_1 = 36276, pg_int_2 = 8640))&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ludovicabraham_0-1737987915532.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25986iC83DE2410BE1E91B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ludovicabraham_0-1737987915532.png" alt="ludovicabraham_0-1737987915532.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do you do to have the content of the record at the root level to be able to use categorical vizualisation ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 14:32:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268471#M1288</guid>
      <dc:creator>ludovic-abraham</dc:creator>
      <dc:date>2025-01-27T14:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268473#M1289</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/43917"&gt;@ludovic-abraham&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For that you could use the &lt;FONT face="terminal,monaco" color="#808080"&gt;fieldsFlatten&lt;/FONT&gt; command - &lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-query-language/commands/structuring-commands#fieldsFlatten" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-query-language/commands/structuring-commands#fieldsFlatten&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;data record(r = record(name = "01A", pg_int_1 = 86598, pg_int_2 = 0)),
record(r = record(name = "02A", pg_int_1 = 26253, pg_int_2 = 8640))
| fieldsFlatten r
| fieldsRemove r&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-27 at 15.45.09.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25987iFF96685CD4CA562B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-01-27 at 15.45.09.png" alt="Screenshot 2025-01-27 at 15.45.09.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 14:49:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268473#M1289</guid>
      <dc:creator>MikeleH</dc:creator>
      <dc:date>2025-01-27T14:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268474#M1290</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3623"&gt;@MikeleH&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot, at first I thought it was not working with &lt;STRONG&gt;fieldsFlatten&lt;/STRONG&gt; but the prefix added by this function seems to do the job and I confirm I'm able to use categorical visualization with it.&lt;/P&gt;&lt;P&gt;Again thank you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 15:13:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/268474#M1290</guid>
      <dc:creator>ludovic-abraham</dc:creator>
      <dc:date>2025-01-27T15:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/269388#M1297</link>
      <description>&lt;P&gt;Hi Mikele,&lt;/P&gt;&lt;P&gt;I was able to create the stacked bars with your suggestion.&lt;BR /&gt;Something that is still a bit bothering me is that with this solution I need to know up front all the stacking categories, and create fields from them.&lt;/P&gt;&lt;PRE&gt;fetch logs&lt;BR /&gt;...&lt;BR /&gt;| fieldsAdd pg_int_1 = if(pg_int == 1, 1), pg_int_2 = if(pg_int == 2, 1), pg_int_3 = if(pg_int == 3, 1), pg_int_4 = if(pg_int &amp;gt;= 4, 1)&lt;BR /&gt;| summarize by: {data.area}, pq_1 = sum(pg_int_1), pq_2 = sum(pg_int_2), pq_3 = sum(pg_int_3), pq_4 = sum(pg_int_4)&lt;/PRE&gt;&lt;P&gt;With timeseries bar chart, the stacking values are values of a specific field, so we don't have to know them up front:&lt;/P&gt;&lt;PRE&gt;fetch logs&lt;BR /&gt;...&lt;BR /&gt;| fieldsAdd pq_int_s = toString(pq_int)&lt;BR /&gt;| makeTimeseries by:{pq_int_s}, count()&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoltan_3-1738833436321.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26239i52A7965EFA158440/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoltan_3-1738833436321.png" alt="Zoltan_3-1738833436321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to add one more field selector to the settings of the Categorical Bar Chart?&lt;/P&gt;&lt;P&gt;Something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;group by / stacked by field selector?&lt;/P&gt;&lt;P&gt;This way, the data's grouping could look the same as with time timeseries bar chart - we could just add by:{main_grouping, secondary_grouping}&lt;/P&gt;&lt;P&gt;Then select which one is the x axis grouping, which one is the stacking grouping&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoltan_2-1738833254758.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26238iAA8F20654FDB5E0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoltan_2-1738833254758.png" alt="Zoltan_2-1738833254758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw, our custom visualization request is still applicable, as we have a request to visualize things like this - a custom heatmap:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoltan_4-1738833585806.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26240i04BADCA0ACB04A41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoltan_4-1738833585806.png" alt="Zoltan_4-1738833585806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 09:22:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/269388#M1297</guid>
      <dc:creator>Zoltan</dc:creator>
      <dc:date>2025-02-06T09:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/269688#M1304</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/78579"&gt;@Zoltan&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;Thanks for the feedback, we will take this into account in our future iterations.&lt;/P&gt;
&lt;P&gt;Regarding the Heatmap visualization, this is something that we're currently working on &lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 07:24:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/269688#M1304</guid>
      <dc:creator>MikeleH</dc:creator>
      <dc:date>2025-02-11T07:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual component for Dashboards and Notebooks</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/270095#M1311</link>
      <description>&lt;P&gt;Hi Mikele,&lt;/P&gt;&lt;P&gt;Thanks for the info. The heatmap is a welcome addition, and it is greatly welcome.&lt;BR /&gt;Nevertheless, I'm still casting a vote for a "luggable custom visual, with some interface perhaps, that we could extend, or something similar".&lt;/P&gt;&lt;P&gt;I do understand though that this could become a complexity bomb.&lt;BR /&gt;On the other hand, if it would be feasible, it would allow your team to add official "pluggable" components as well.&lt;BR /&gt;I'd be happy to spend some time together to share some thoughts, or brainstorm on how it could be feasible, but I will be honest, I have not yet looked into the source code of the dashboards and notebooks.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zoltan&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 12:54:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custom-Visual-component-for-Dashboards-and-Notebooks/m-p/270095#M1311</guid>
      <dc:creator>Zoltan</dc:creator>
      <dc:date>2025-02-14T12:54:47Z</dc:date>
    </item>
  </channel>
</rss>

