<?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: Method of Creating a Widget with Non-datetime Type Data on the Horizontal Axis in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/method-of-creating-a-widget-with-non-datetime-type-data-on-the/m-p/599828#M3689</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/287891"&gt;@gyldz&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;Thank you for your wonderful reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you can create such graphs using scripts.&lt;BR /&gt;I'll look into the scripts for creating the graphs I want to make right away.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 00:15:41 GMT</pubDate>
    <dc:creator>MEiunyo1</dc:creator>
    <dc:date>2024-10-09T00:15:41Z</dc:date>
    <item>
      <title>Method of Creating a Widget with Non-datetime Type Data on the Horizontal Axis</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/method-of-creating-a-widget-with-non-datetime-type-data-on-the/m-p/592274#M3474</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am considering setting non-datetime type data on the horizontal axis of a Widget.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, it doesn't seem possible to create such a graph from the Widget creation screen.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If it is possible to create a graph using methods such as script-based creation, I would appreciate it if you could tell me how. I have checked the page at the following link, but I could not understand a specific solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.5/Cortex-XSOAR-Administrator-Guide/Script-Based-Widgets-Using-Automation-Scripts-Examples%22" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.5/Cortex-XSOAR-Administrator-Guide/Script-Based-Widgets-Using-Automation-Scripts-Examples"&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(This sentence is being translated by Chat-GPT.)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 06:45:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/method-of-creating-a-widget-with-non-datetime-type-data-on-the/m-p/592274#M3474</guid>
      <dc:creator>MEiunyo1</dc:creator>
      <dc:date>2024-07-17T06:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Method of Creating a Widget with Non-datetime Type Data on the Horizontal Axis</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/method-of-creating-a-widget-with-non-datetime-type-data-on-the/m-p/599768#M3686</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/328655"&gt;@MEiunyo1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to create an automation with "widget" tag and from the dashboard menu please click + sign and select script. From this screen, you need to select the script that you developed. In the admin guide, there are sample scripts for each type. For your need, you can use the below structure and change the returned data.&amp;nbsp; &amp;nbsp;For example, I changed the date with A,B,C,D,E.&lt;/P&gt;
&lt;PRE class="programlisting hljs  language-kotlin"&gt;&lt;CODE&gt;data = [
    {"name": "2018-04-12", "data": [10], "groups": [{"name": "Unclassified", "data": [10] }]},
    {"name": "2018-04-10", "data": [3], "groups": [{"name": "Unclassified", "data": [2] }, {"name": "Access", "data": [1] }]},
    {"name": "2018-04-17", "data": [1], "groups": [{"name": "Unclassified", "data": [1] }]},
    {"name": "2018-04-16", "data": [34], "groups": [{"name": "Unclassified", "data": [18] }, {"name": "Phishing", "data": [14] }]},
    {"name": "2018-04-15", "data": [17], "groups": [{"name": "Access", "data": [17] }]}
];
demisto.results(json.dumps(data));&lt;/CODE&gt;&lt;/PRE&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="gyldz_0-1728375501951.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/62612i52FA2E7B55DC1DF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gyldz_0-1728375501951.png" alt="gyldz_0-1728375501951.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Script-Based-Widgets-Using-Automation-Scripts-Examples?section=UUID-2dfda1db-ef60-e1c6-a185-35d682b6f3ff_idb005ecf6-abe2-4416-bd05-d8bf1c29b4df" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Script-Based-Widgets-Using-Automation-Scripts-Examples?section=UUID-2dfda1db-ef60-e1c6-a185-35d682b6f3ff_idb005ecf6-abe2-4416-bd05-d8bf1c29b4df&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 08:19:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/method-of-creating-a-widget-with-non-datetime-type-data-on-the/m-p/599768#M3686</guid>
      <dc:creator>gyldz</dc:creator>
      <dc:date>2024-10-08T08:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Method of Creating a Widget with Non-datetime Type Data on the Horizontal Axis</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/method-of-creating-a-widget-with-non-datetime-type-data-on-the/m-p/599828#M3689</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/287891"&gt;@gyldz&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;Thank you for your wonderful reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you can create such graphs using scripts.&lt;BR /&gt;I'll look into the scripts for creating the graphs I want to make right away.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 00:15:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/method-of-creating-a-widget-with-non-datetime-type-data-on-the/m-p/599828#M3689</guid>
      <dc:creator>MEiunyo1</dc:creator>
      <dc:date>2024-10-09T00:15:41Z</dc:date>
    </item>
  </channel>
</rss>

