{"id":77,"date":"2018-11-05T05:50:22","date_gmt":"2018-11-05T05:50:22","guid":{"rendered":"http:\/\/qlikwithfriends.com.temp.realssl.com\/?p=77"},"modified":"2018-11-13T06:09:34","modified_gmt":"2018-11-13T06:09:34","slug":"off-the-charts-when-and-how-to-use-a-custom-axis-on-a-chart","status":"publish","type":"post","link":"https:\/\/qlikwithfriends.com\/index.php\/2018\/11\/05\/off-the-charts-when-and-how-to-use-a-custom-axis-on-a-chart\/","title":{"rendered":"Off the Charts. When and how to use a custom axis on a chart."},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"77\" class=\"elementor elementor-77 elementor-bc-flex-widget\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-990634f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"990634f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7a0ff85\" data-id=\"7a0ff85\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5a8c5f9 elementor-widget elementor-widget-text-editor\" data-id=\"5a8c5f9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Most of the time, when you create a chart, you can leave the Range selection for the X- and Y-axes on \u201cAuto\u201d. Recent versions of Qlik Sense have improved the logic that\u2019s used to determine these ranges and it\u2019s also usually the most efficient option in terms of refresh time\u2014and your time. But there are times when your requirements or your data characteristic don\u2019t fit the standard logic that the visualization engine uses to determine the ranges for axes on a chart. In these cases, you\u2019ll need to customize how the scale for the X-axis or Y-axis; or both, by using a custom formula.\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">So, what situations require us use a custom formula for an axis? Custom Min\/Max values are most often set for the Y-axis, either when the choices for this range are not obvious or when you\u2019re using reference lines. This post focuses on the latter case.<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">The chart below shows the average weekly temperature in Manhattan in 2018. I\u2019ve added two reference lines\u2014one showing the overall average temperature (for all the data) and one showing the average temperature for the period shown (filters applied). Since I haven\u2019t filtered anything yet, both are the same. So far, so good.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-15df24f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"15df24f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6104432\" data-id=\"6104432\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-29f3e11 elementor-widget elementor-widget-image\" data-id=\"29f3e11\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"471\" src=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-Original-1024x486.png\" class=\"attachment-large size-large wp-image-79\" alt=\"\" srcset=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-Original-1024x486.png 1024w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-Original-300x142.png 300w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-Original-768x364.png 768w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-Original-421x200.png 421w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-Original.png 1338w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0fe0cb0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0fe0cb0\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b5131ff\" data-id=\"b5131ff\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-439b748 elementor-widget elementor-widget-text-editor\" data-id=\"439b748\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">I\u2019ll list the formulas used for the dimensions and measures for clarity and because I\u2019ll refer to them later.<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Dimension:\u00a0<i><span style=\"color: #0070c0;\">[Week Ending Date]<\/span><\/i><\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Measure:\u00a0<i><span style=\"color: #0070c0;\">[Weekly Temperature]<\/span><\/i><\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Reference Line for Overall Avg:\u00a0<i><span style=\"color: #0070c0;\">Avg({1} [Weekly Temperature])<\/span><\/i><\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Reference Line for Period Avg:\u00a0<i><span style=\"color: #0070c0;\">Avg([Weekly Temperature])<\/span><\/i><\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Here\u2019s another example when I\u2019ve selected a subset of the dates. Now we have different values for the two reference lines and the chart still renders the way we\u2019d expect. Still good.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-97b6bcd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"97b6bcd\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ef958d8\" data-id=\"ef958d8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a52f304 elementor-widget elementor-widget-image\" data-id=\"a52f304\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"443\" src=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-OK-1024x457.png\" class=\"attachment-large size-large wp-image-80\" alt=\"\" srcset=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-OK-1024x457.png 1024w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-OK-300x134.png 300w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-OK-768x342.png 768w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-OK-448x200.png 448w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-OK.png 1332w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-89c6b9d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"89c6b9d\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d528631\" data-id=\"d528631\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2a1f194 elementor-widget elementor-widget-text-editor\" data-id=\"2a1f194\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">The issue discussed in this post appears when I select a subset of the dates that causes the measures (the lines) that are displayed to be far from one or more of the reference lines. In this case the chart optimized the display for the normal range, but doesn\u2019t show the reference lines that fall way outside the range. Instead, it shows a small icon at the upper or lower right corner of the chart, depending upon the line that isn\u2019t shown.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-79a3e90 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"79a3e90\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2a0f582\" data-id=\"2a0f582\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8ad37e6 elementor-widget elementor-widget-image\" data-id=\"8ad37e6\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"473\" src=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-1-RED-1024x488.png\" class=\"attachment-large size-large wp-image-82\" alt=\"\" srcset=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-1-RED-1024x488.png 1024w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-1-RED-300x143.png 300w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-1-RED-768x366.png 768w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-1-RED-420x200.png 420w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Auto-1-RED.png 1337w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3ae75de elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3ae75de\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4b21123\" data-id=\"4b21123\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-da7256d elementor-widget elementor-widget-text-editor\" data-id=\"da7256d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Let\u2019s look at how the chart uses our data to create the Y-axis values when we choose the \u201cAuto\u201d setting\u2014It\u2019s using the values of the data in the measures, but not the values for the reference lines This makes sense\u2014the display favors the main chart data\u2014but if the reference lines are also important then using \u201cAuto\u201d is probably not the best option.<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">There are two approaches to handling this solution. Both have a different visual result.<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">The first approach is the quickest and easiest. Simply click the checkbox for \u201cLogarithmic scale\u201d that\u2019s just below the \u201cRange\u201d selector.\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5bd1547 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5bd1547\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-efc49cf\" data-id=\"efc49cf\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cfec3dd elementor-widget elementor-widget-image\" data-id=\"cfec3dd\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"297\" height=\"128\" src=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Logarithmic-checked.png\" class=\"attachment-large size-large wp-image-83\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1ff5bde elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1ff5bde\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1b86c7b\" data-id=\"1b86c7b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dbfe53b elementor-widget elementor-widget-text-editor\" data-id=\"dbfe53b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Qlik Sense will always adjust the Y-axis to include the full range. That\u2019s good, but the values on the axis will not be evenly distributed and though the lines shown will be scaled to those values, the shape of the lines may not be as expected. You can see this effect in the sample below.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cc8cacb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cc8cacb\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-36c3f93\" data-id=\"36c3f93\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f2df0a0 elementor-widget elementor-widget-image\" data-id=\"f2df0a0\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"443\" src=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Log-1-Red-1024x457.png\" class=\"attachment-large size-large wp-image-87\" alt=\"\" srcset=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Log-1-Red-1024x457.png 1024w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Log-1-Red-300x134.png 300w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Log-1-Red-768x343.png 768w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Log-1-Red-448x200.png 448w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Log-1-Red.png 1333w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ca97d44 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ca97d44\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9a1e6e2\" data-id=\"9a1e6e2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e5c94c7 elementor-widget elementor-widget-text-editor\" data-id=\"e5c94c7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">This could be confusing to users\u2014especially when the visual presentation of the curve (or trend) is important. In this case, there is another approach that will solve this issue. It requires that we explicitly set the formula that the engine will use to calculate the scale and values for the axis.<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">First, let\u2019s look at the result (below). Compare it to the example above. Both are correct, but the second one presents a much more natural-looking curve and a Y-axis with evenly-spaced values. This is closer to what a user would expect.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-33a97e4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"33a97e4\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bf78594\" data-id=\"bf78594\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2b19fb7 elementor-widget elementor-widget-image\" data-id=\"2b19fb7\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"472\" src=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Custom-1-1024x487.png\" class=\"attachment-large size-large wp-image-86\" alt=\"\" srcset=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Custom-1-1024x487.png 1024w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Custom-1-300x143.png 300w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Custom-1-768x366.png 768w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Custom-1-420x200.png 420w, https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Custom-1.png 1336w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-be5444b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"be5444b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-83b65ab\" data-id=\"83b65ab\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2723fc4 elementor-widget elementor-widget-text-editor\" data-id=\"2723fc4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><span style=\"caret-color: #000000; color: #000000; font-family: Calibri, sans-serif; font-size: medium; font-style: normal; font-variant-caps: normal;\">Here\u2019s how to accomplish this. First, toggle the \u201cRange\u201d selector to \u201ccustom\u201d. This will allow us to select a custom formula for the \u201cMin\u201d, \u201cMax\u201d, or both. In this example, I\u2019ve selected the \u201cMax\u201d. I\u2019ll let Qlik Sense set the \u201cMin\u201d automatically.<\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6ef050a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6ef050a\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-07dbe52\" data-id=\"07dbe52\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-753bc43 elementor-widget elementor-widget-image\" data-id=\"753bc43\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"294\" height=\"135\" src=\"https:\/\/qlikwithfriends.com\/wp-content\/uploads\/2018\/11\/20181105_Custom-Range.png\" class=\"attachment-large size-large wp-image-85\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ec21968 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ec21968\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-26a62f2\" data-id=\"26a62f2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7fb2957 elementor-widget elementor-widget-text-editor\" data-id=\"7fb2957\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Then, enter the formula to use for the \u201cMax\u201d value. I\u2019ve shown the one used on this chart.<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">=Ceil(<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0RangeMax(<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Max(Aggr(Avg([Weekly Temperature]), [Week Ending Date])),<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Avg({1} [Weekly Temperature]),<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Avg([Weekly Temperature])<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0), 10)<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Let\u2019s take a look at a generic version of the formula used.<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">=Ceil(<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0RangeMax(<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Max(Aggr(<i><span style=\"color: #0070c0;\">the measure on the chart<\/span><\/i>,\u00a0<i><span style=\"color: #0070c0;\">the dimension for the X-axis<\/span><\/i>)),<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<i><span style=\"color: #0070c0;\">the formula used for the first reference line<\/span><\/i>,<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<i><span style=\"color: #0070c0;\">the formula used for the second reference line<\/span><\/i><\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0), 10)<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">The formula takes the highest value of the measure (Y-value) on the chart<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0 Max(Aggr(<i><span style=\"color: #0070c0;\">the measure on the chart<\/span><\/i>,\u00a0<i><span style=\"color: #0070c0;\">the dimension for the X-axis<\/span><\/i>))<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\"><span style=\"font-family: Calibri, sans-serif; font-size: medium; font-style: normal; font-variant-caps: normal; text-align: inherit;\">\u00a0<\/span><\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\"><span style=\"font-family: Calibri, sans-serif; font-size: medium; font-style: normal; font-variant-caps: normal; text-align: inherit;\">Then it takes the maximum value (RangeMax) of that, or any of the reference line formulas<\/span><\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\"><span style=\"font-family: Calibri, sans-serif; font-size: medium; font-style: normal; font-variant-caps: normal; text-indent: 0.5in; text-align: inherit;\">\u00a0<\/span><\/p><p class=\"MsoNormal\" style=\"text-indent: 0px; margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal;\"><span style=\"font-family: Calibri, sans-serif; font-size: medium; font-style: normal; font-variant-caps: normal; text-indent: 0.5in; text-align: inherit;\">\u00a0 \u00a0 \u00a0 RangeMax(<\/span><\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Max(Aggr(<i><span style=\"color: #0070c0;\">the measure on the chart<\/span><\/i>,\u00a0<i><span style=\"color: #0070c0;\">the dimension for the X-axis<\/span><\/i>)),<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<i><span style=\"color: #0070c0;\">the formula used for the first reference line<\/span><\/i>,<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<i><span style=\"color: #0070c0;\">the formula used for the second reference line<\/span><\/i><\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 )<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">And finally, it rounds that up to the nears increment of 10, using the Ceil function. You can change that increment depending upon the increment you\u2019d like for the upper value, or if you\u2019re using a percent scale.<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">The advantage of the second approach is that you ensure that all of the reference lines appear on the chart and that the Y-axis and the lines are normally proportioned on the chart.<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">Which approach is best? It really depends upon your requirements, your data and what the expectations of your users will be. Try this on your charts. You will probably find situations where your dataset is so large that using custom axis values is inefficient. That might be a limiting factor, or it might mean that you need to optimize your data model\u2014but that\u2019s a topic for another post.\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">\u00a0<\/p><p class=\"MsoNormal\" style=\"margin: 0in 0in 0.0001pt; font-size: medium; font-family: Calibri, sans-serif; caret-color: #000000; color: #000000; font-style: normal; font-variant-caps: normal; text-indent: 0px;\">If you need examples of how to scale the \u201cMin\u201d value, or how to do this for an axis that shows a percent please post in the comments.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Most of the time, when you create a chart, you can leave the Range selection for the X- and Y-axes on \u201cAuto\u201d. Recent versions of Qlik Sense have improved the logic that\u2019s used to determine these ranges and it\u2019s also usually the most efficient option in terms of refresh time\u2014and &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[6,7],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-qliksense","category-visualizations"],"_links":{"self":[{"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":4,"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/77\/revisions\/97"}],"wp:attachment":[{"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qlikwithfriends.com\/index.php\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}