Queries |
Response | |||
what I need is if the Average Answer is below 1 that it is red in color and if it is 1-2 it is orange if 2-3 it is yellow and if 3-4 purple and if 4-5 then green is that possible? |
Yes, it is possible as a workaround using the prerender event of chart. In this depends upon the average value(y value), you can specify color to fill property to points as depicted in the below code snippet.
Screenshot:
Sample for reference can be find from below link.
| |||
if the Average Answer is 5 I would still like to have the Marker label say 5 right now it will not appear because I have the value set at Top (at top of column will work too, it does not need to be above the column) |
Since we are not clear with the exact requirement of this query, we suspect that you need to make the data label visible when it moves out of chart. As of now the data label which moves out of chart area will get clipped, this is the default behavior. But this can be overcome in following ways.
Solution 1:
You can specify the range (max) as 6 in your sample, so that the data label will be visible. Find the code snippet below to achieve this requirement.
Solution 2:
You can specify the rangePadding property as additional to y axis, so that the data label will be visible. But you need specify either rangePadding property or range to y axis, if you specify the both then range will be considered. Find the code snippet below to achieve this requirement.
Solution 3:
You can also specify the plotoffset property of y axis as depicted in the below code snippet, so that the offset will be added to the top and bottom of y axis.
Screenshot:
Kindly revert us with more information on your query, if we have misunderstood it. So that we can analyze and provide you the solution sooner.
|