<?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: Create a dot graph with a linear line in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865958#M1744</link>
    <description>&lt;P&gt;Oh&amp;nbsp;&lt;SPAN&gt;I'm using SAS visual Analytics to create the graph (all point and click)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2023 15:02:10 GMT</pubDate>
    <dc:creator>HansSteenhuis</dc:creator>
    <dc:date>2023-03-23T15:02:10Z</dc:date>
    <item>
      <title>Create a dot graph with a linear line</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865910#M1736</link>
      <description>&lt;P&gt;does this graph also exist in SAS VIYA? Or can I make it myself?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On the x line I need the dates. On each day there are several points of the starting times. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using the scatter chart now, but how can I get that linear line?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;see example how it should be&lt;/SPAN&gt;&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="grafiek_icm.JPG" style="width: 812px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81951i0227FE4080F004F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="grafiek_icm.JPG" alt="grafiek_icm.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 12:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865910#M1736</guid>
      <dc:creator>HansSteenhuis</dc:creator>
      <dc:date>2023-03-23T12:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dot graph with a linear line</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865916#M1737</link>
      <description>&lt;P&gt;Are you referring to SAS Visual analytics or some SAS program using Proc SGPLOT?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 12:57:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865916#M1737</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2023-03-23T12:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dot graph with a linear line</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865918#M1738</link>
      <description>&lt;P&gt;I'm refering to SAS Viya&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 13:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865918#M1738</guid>
      <dc:creator>HansSteenhuis</dc:creator>
      <dc:date>2023-03-23T13:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dot graph with a linear line</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865924#M1739</link>
      <description>Are you using SAS visual Analytics to create the graph (all point and click) or are you writing a SAS program?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2023 13:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865924#M1739</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2023-03-23T13:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dot graph with a linear line</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865925#M1740</link>
      <description>&lt;P&gt;Yes i'm using SAS Viya to create the graph&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 13:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865925#M1740</guid>
      <dc:creator>HansSteenhuis</dc:creator>
      <dc:date>2023-03-23T13:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dot graph with a linear line</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865932#M1741</link>
      <description>&lt;P&gt;SAS Viya as answer does not help much.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create the graph are you using code like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.stocks;
  where
    stock = "IBM"
    and year(date) between 2004 and 2006
  ;
  scatter x=date y=close / ;
  reg x=date y=close / ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Creating this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bruno_SAS_0-1679579175818.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81952i5BED8A15AA61DED5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bruno_SAS_0-1679579175818.png" alt="Bruno_SAS_0-1679579175818.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or another way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 13:48:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865932#M1741</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2023-03-23T13:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dot graph with a linear line</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865958#M1744</link>
      <description>&lt;P&gt;Oh&amp;nbsp;&lt;SPAN&gt;I'm using SAS visual Analytics to create the graph (all point and click)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/865958#M1744</guid>
      <dc:creator>HansSteenhuis</dc:creator>
      <dc:date>2023-03-23T15:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dot graph with a linear line</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/866681#M1745</link>
      <description>&lt;P&gt;In SAS Visual Analytics, the Scatter plot supports a "Fit Line", use either the right mouse button or the options pane to add it.&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/vacdc/default/vaobj/n02h2a3i8htlhln1o4ngyz6f1ox5.htm#p0bvwvf3yyxx1bn18whdz89b78ub" target="_blank"&gt;https://documentation.sas.com/doc/en/vacdc/default/vaobj/n02h2a3i8htlhln1o4ngyz6f1ox5.htm#p0bvwvf3yyxx1bn18whdz89b78ub&lt;/A&gt;&amp;nbsp;for more details&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However the Scatter plot only supports measures. So currently there is no point and click way of creating such a graph using a measure and a date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could use the TreatAs operator to convert the date to a measure and then use it in the scatter plot, but you will loose the date information, but you would see the data points as well as the fit line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then there is always the Data Driven Content object that will allow to use for instance D3.js to do something like this or run some SAS code and generate a graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 07:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Create-a-dot-graph-with-a-linear-line/m-p/866681#M1745</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2023-03-28T07:32:08Z</dc:date>
    </item>
  </channel>
</rss>

