<?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 Data-driven line thickness in ArcGIS JavaScript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/data-driven-line-thickness-in-arcgis-javascript/m-p/503615#M46758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;am trying to render a line featurelayer and would like to set the thickness (width) of lines based on one of the attributes, which is a continuous value between 0-1; for example for value of zero the thickness would be 1, for the value of 1 the thickness would be 10, and other values between 0-1 would be proportionally assigned a thickness (width) between 1 to 10. I am looking at &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=visualization-vv-size" rel="nofollow noreferrer"&gt;this example&lt;/A&gt; from ArcGIS JavaScript API 4.2 in which the size of circles are determined based on an attribute. Could we do a similar thing for lines' thickness? In visualvariables what value should I give to the type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2017 23:39:54 GMT</pubDate>
    <dc:creator>REZAAmindarbari2</dc:creator>
    <dc:date>2017-01-27T23:39:54Z</dc:date>
    <item>
      <title>Data-driven line thickness in ArcGIS JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/data-driven-line-thickness-in-arcgis-javascript/m-p/503615#M46758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;am trying to render a line featurelayer and would like to set the thickness (width) of lines based on one of the attributes, which is a continuous value between 0-1; for example for value of zero the thickness would be 1, for the value of 1 the thickness would be 10, and other values between 0-1 would be proportionally assigned a thickness (width) between 1 to 10. I am looking at &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=visualization-vv-size" rel="nofollow noreferrer"&gt;this example&lt;/A&gt; from ArcGIS JavaScript API 4.2 in which the size of circles are determined based on an attribute. Could we do a similar thing for lines' thickness? In visualvariables what value should I give to the type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 23:39:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/data-driven-line-thickness-in-arcgis-javascript/m-p/503615#M46758</guid>
      <dc:creator>REZAAmindarbari2</dc:creator>
      <dc:date>2017-01-27T23:39:54Z</dc:date>
    </item>
  </channel>
</rss>

