• mdep
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I have one apex chart with staked bar and i'm tring to disply it's label as insideEnd as mention in https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_chartLabel.htm

Below is my code snpist,

 

<apex:chart height="350" width="400" data="jsonObjTaskByDueWeek"> 
			            <apex:axis type="Numeric" position="left" fields="In Progress,Submitted,Rejected" dashSize="2" title="{!$Label.Assessment_Controls}"/>    
			            <apex:axis type="Category" position="bottom" fields="name" title="Weeks">            
			            	<apex:chartLabel display="insideEnd"/>
			            </apex:axis>
			            <apex:barSeries orientation="vertical" stacked="true" colorSet="{!taskByDueWeekColorSet}"
			             axis="left" xField="name" yField="In Progress,Submitted,Rejected">
			             <apex:chartTips height="25" width="150" rendererFn="setToolTip" />
			            </apex:barSeries>
			            <apex:legend position="bottom"/>
			        </apex:chart>

 

User-added image

In the above image label are not comming correctly.. It's should come in cross with insideend. 

Any luck?