<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/discussions/f/user-interface/14661/reference-line-text-is-cut-off-in-bar-chart</link><description>When using a!chartReferenceLine() in a bar chart the last line text is cut off a little bit. 
 Have anyone experienced this before? 
 Please refer to screenshot (Extremely Satisfying text)</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65736?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 19:09:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7203c184-a7cc-46b0-b814-02d8016d1bf0</guid><dc:creator>Aby Amores</dc:creator><description>&lt;p&gt;That&amp;#39;s true. I will create a support ticket for this issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, adding a header does not solve in the column or bar chart. Thanks a lot for your reply, ankushj!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65735?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 19:07:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d168958b-69eb-4e1a-b1b5-e51bbd5445e3</guid><dc:creator>Aby Amores</dc:creator><description>&lt;p&gt;That would be a workaround, yes. I can probably use it in the meantime. Thanks Stewart!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65733?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 18:10:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:609e2c61-97dc-4351-8939-58aa4f07a60c</guid><dc:creator>ankushj</dc:creator><description>&lt;p&gt;The best solution would be to raise support ticket as suggested by Stewart. But alternate quick solution&amp;nbsp; would be if you can give label to your&amp;nbsp;columnChartField.&lt;/p&gt;
&lt;p&gt;a!columnChartField(&lt;br /&gt; label: &amp;quot;Heading&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; categories: {&amp;quot;Stage 1&amp;quot;, &amp;quot;Stage 2&amp;quot;, &amp;quot;Stage 3&amp;quot;, &amp;quot;Stage 4&amp;quot;, &amp;quot;Stage 5&amp;quot;, &amp;quot;Stage 6&amp;quot;, &amp;quot;Stage 7&amp;quot;},&lt;br /&gt; series: a!chartSeries(&lt;br /&gt; label: &amp;quot;# Opportunities&amp;quot;,&lt;br /&gt; data: a!forEach(&lt;br /&gt; items: enumerate(7) + 1,&lt;br /&gt; expression: with(&lt;br /&gt; rand()*20+1&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; color: &amp;quot;ACCENT&amp;quot;&lt;br /&gt; ),&lt;br /&gt; showLegend: false,&lt;br /&gt; showTooltips: true,&lt;br /&gt; referenceLines: {&lt;br /&gt; a!chartReferenceLine(&lt;br /&gt; label: &amp;quot;Level One&amp;quot;,&lt;br /&gt; value: 5&lt;br /&gt; ),&lt;br /&gt; a!chartReferenceLine(&lt;br /&gt; label: &amp;quot;Level Two&amp;quot;,&lt;br /&gt; value: 10&lt;br /&gt; ),&lt;br /&gt; a!chartReferenceLine(&lt;br /&gt; label: &amp;quot;Level Three&amp;quot;,&lt;br /&gt; value: 15&lt;br /&gt; ),&lt;br /&gt; a!chartReferenceLine(&lt;br /&gt; label: &amp;quot;Level Four&amp;quot;,&lt;br /&gt; value: 20&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65732?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 17:16:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a4e8756-af1d-494c-bc81-f73573188861</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;(The real answer is to raise a Support Ticket with Appian and get them to either provide an answer or a fix)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65731?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 17:15:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:87108128-276c-4df8-8d4c-f19eee1fbbdd</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;So...another (not very nice, but still an) option is...to artificially append one column that contains the maximum value possible in your chart, and label it &amp;quot;Reference Maximum Score&amp;quot; or some such...this then forces the chart to stretch beyond the maximum and thus your top reference line is always rendered correctly...it&amp;#39;s not elegant but it works:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!columnChartField(
  labelPosition: &amp;quot;ABOVE&amp;quot;,
  categories: {&amp;quot;Stage 1&amp;quot;, &amp;quot;Stage 2&amp;quot;, &amp;quot;Stage 3&amp;quot;, &amp;quot;Stage 4&amp;quot;, &amp;quot;Stage 5&amp;quot;, &amp;quot;Stage 6&amp;quot;, &amp;quot;Stage 7&amp;quot;,&amp;quot;Maximum (for Reference&amp;quot;},
  series: a!chartSeries(
    label: &amp;quot;# Opportunities&amp;quot;,
    data: {
      a!forEach(
      items: enumerate(7) + 1,
      expression: with(
        rand()*20+1
      )
    ),
    20
    },
    color: &amp;quot;ACCENT&amp;quot;
  ),
  showLegend: false,
  showTooltips: true,
  referenceLines: {
    a!chartReferenceLine(
      label: &amp;quot;Level One&amp;quot;,
      value: 5
    ),
    a!chartReferenceLine(
      label: &amp;quot;Level Two&amp;quot;,
      value: 10
    ),
    a!chartReferenceLine(
      label: &amp;quot;Level Three&amp;quot;,
      value: 15
    ),
    a!chartReferenceLine(
      label: &amp;quot;Level Four&amp;quot;,
      value: 20
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65729?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 16:58:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20d2814d-3d97-406a-8a09-a2d2ba134c15</guid><dc:creator>Aby Amores</dc:creator><description>&lt;p&gt;Thanks for your reply, Stewart. Unfortunately,&amp;nbsp;I do want all the reference lines to be shown as you saw in the example.&lt;/p&gt;
&lt;p&gt;And that&amp;#39;s true, a forEach function should be used here. The snippet code was just an&amp;nbsp;example of how to reproduce the&amp;nbsp;issue that I made on the fly, it is not the actual code. I appreciate all your suggestions, though!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65720?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 15:24:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bf189c8f-4e0c-48a3-b3e4-a460abcbe1f6</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;So, I had a little try out and see what you mean. One way is to avoid the situation. You can use the &amp;#39;showWhen&amp;#39; to NOT show the reference line if none of the values in your chart are above that value.&amp;nbsp;That is, your last reference line will be that which is immediately below your maximum value. That may or may not be an acceptable solution (looking at your first example I suspect not - you want to have the full range by the looks of it)&lt;/p&gt;
&lt;p&gt;(Off-topic: I also noticed that you&amp;#39;re effectively repeating the a!chartReferenceLine() component, so you could derive these using some data and the a!forEach() to make the code more flexible for maintenance purposes.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65713?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 14:19:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:14aca28b-c08a-49ca-b20a-37182559cda1</guid><dc:creator>Aby Amores</dc:creator><description>&lt;p&gt;Thanks for your reply. I don&amp;#39;t think it is because of the resolution. I have tried many devices and browsers.&lt;/p&gt;
&lt;p&gt;Please find the snippet code below. (It also happens in&amp;nbsp;column charts)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!columnChartField(
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              categories: {&amp;quot;Stage 1&amp;quot;, &amp;quot;Stage 2&amp;quot;, &amp;quot;Stage 3&amp;quot;, &amp;quot;Stage 4&amp;quot;, &amp;quot;Stage 5&amp;quot;, &amp;quot;Stage 6&amp;quot;, &amp;quot;Stage 7&amp;quot;},
              series: a!chartSeries(
                label: &amp;quot;# Opportunities&amp;quot;,
                data: a!forEach(
                  items: enumerate(7) + 1,
                  expression: with(
                    rand()*20+1
                  )
                ),
                color: &amp;quot;ACCENT&amp;quot;
              ),
              showLegend: false,
              showTooltips: true,
              referenceLines: {
                a!chartReferenceLine(
                  label: &amp;quot;Level One&amp;quot;,
                  value: 5
                ),
                a!chartReferenceLine(
                  label: &amp;quot;Level Two&amp;quot;,
                  value: 10
                ),
                a!chartReferenceLine(
                  label: &amp;quot;Level Three&amp;quot;,
                  value: 15
                ),
                a!chartReferenceLine(
                  label: &amp;quot;Level Four&amp;quot;,
                  value: 20
                )
              }
            )
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65712?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 14:16:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:44aa3fa7-ffc4-4a2f-b04a-913788e0e191</guid><dc:creator>Aby Amores</dc:creator><description>&lt;p&gt;Thanks for your reply Gaurav. I have tried in different browsers and also on mobile devices but this issue is still&amp;nbsp;present.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65696?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 04:34:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7be8c1c6-3804-4b3e-8c28-4730891da8e1</guid><dc:creator>aloks0189</dc:creator><description>&lt;p&gt;I believe it&amp;#39;s because of the resolution or UI layout configuration of your screen.&lt;/p&gt;
&lt;p&gt;Also, is it possible for you to share the code snippet of your interface (by setting some dummy data)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reference Line text is cut off in Bar Chart</title><link>https://community.appian.com/thread/65690?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 23:23:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2823935-7eb0-4526-99e4-f5e4cb7ae2d7</guid><dc:creator>Gaurav Arora</dc:creator><description>&lt;p&gt;Hi, May you try in some other browser, it might be an issue of your screen resolution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>