<?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: Replicate class breaks for polyline layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/replicate-class-breaks-for-polyline-layer/m-p/1265783#M80489</link>
    <description>&lt;P&gt;I was able to do this using the visualVariables property in a SimpleRenderer (I even threw in an offset for the lines):&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var linkRenderer = new SimpleRenderer({
  symbol: {
    type: "cim",
    // CIM Line Symbol
    data: {
      type: "CIMSymbolReference",
      symbol: {
        type: "CIMLineSymbol",
        symbolLayers: [{
          type: "CIMSolidStroke",
          enable: true,
          color: [213,157,30,255],
          effects: [{
            type: "CIMGeometricEffectOffset",
            offset: 3.0,
            method: "Rounded",
            option: "Fast"
          }]
        }]
      }
    }
  }, visualVariables: [
    {
      type: "color",
      valueExpression: "$feature.voltr_"+ comparison_year + " - $feature.voltr_" + reference_year,
      stops: [
        {value: 3000,color: "#ffa500"},
        {value: 1,color: "#ffe3af"},
        {value: 0,color: "white"},
        {value: -1,color: "#e0e9f1"},
        {value: -4400,color: "#4b6791"},
        {value: -9900,color: "#1d1e22"}
      ]
    }
  ]
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 22:12:36 GMT</pubDate>
    <dc:creator>julian_svcs</dc:creator>
    <dc:date>2023-03-08T22:12:36Z</dc:date>
    <item>
      <title>Replicate class breaks for polyline layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/replicate-class-breaks-for-polyline-layer/m-p/1264736#M80465</link>
      <description>&lt;P&gt;I have a polyline feature layer and I would like to represent this layer using the equivalent of Standard Deviation in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="julian_svcs_0-1678141593569.png" style="width: 260px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/64471i44BFA9CF7F5B8A50/image-dimensions/260x366?v=v2" width="260" height="366" role="button" title="julian_svcs_0-1678141593569.png" alt="julian_svcs_0-1678141593569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using class breaks as the renderer but this does not seem to work for line features.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way I can replicate this symbology in my JSAPI code?&lt;/P&gt;&lt;P&gt;Thanks very much for any assistance.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 22:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/replicate-class-breaks-for-polyline-layer/m-p/1264736#M80465</guid>
      <dc:creator>julian_svcs</dc:creator>
      <dc:date>2023-03-06T22:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate class breaks for polyline layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/replicate-class-breaks-for-polyline-layer/m-p/1265783#M80489</link>
      <description>&lt;P&gt;I was able to do this using the visualVariables property in a SimpleRenderer (I even threw in an offset for the lines):&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var linkRenderer = new SimpleRenderer({
  symbol: {
    type: "cim",
    // CIM Line Symbol
    data: {
      type: "CIMSymbolReference",
      symbol: {
        type: "CIMLineSymbol",
        symbolLayers: [{
          type: "CIMSolidStroke",
          enable: true,
          color: [213,157,30,255],
          effects: [{
            type: "CIMGeometricEffectOffset",
            offset: 3.0,
            method: "Rounded",
            option: "Fast"
          }]
        }]
      }
    }
  }, visualVariables: [
    {
      type: "color",
      valueExpression: "$feature.voltr_"+ comparison_year + " - $feature.voltr_" + reference_year,
      stops: [
        {value: 3000,color: "#ffa500"},
        {value: 1,color: "#ffe3af"},
        {value: 0,color: "white"},
        {value: -1,color: "#e0e9f1"},
        {value: -4400,color: "#4b6791"},
        {value: -9900,color: "#1d1e22"}
      ]
    }
  ]
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 22:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/replicate-class-breaks-for-polyline-layer/m-p/1265783#M80489</guid>
      <dc:creator>julian_svcs</dc:creator>
      <dc:date>2023-03-08T22:12:36Z</dc:date>
    </item>
  </channel>
</rss>

