Sign in to follow this  
xuen

Show Yaxis Value At Right

Recommended Posts

Hi,

 

Not directly, but as work-around, you can choose to use a Combination Dual Y Axis chart, and render all your lines on Secondary Axis (right) + hide the primary Y Axis on the left using these attributes:

 

 showYAxisValues='0' showDivLineSecondaryValue='1' showSecondaryLimits='1'

 

Example XML: (using MSCombiDY2D chart)

<chart  
 showYAxisValues='0' showDivLineSecondaryValue='1' showSecondaryLimits='1' 
 caption='Sales Volume' YAxisName='Revenue' showvalues='0' showShadow='1'
>
  <categories>
     <category label='Jan' />
     <category label='Feb' />
     <category label='Mar' />
     <category label='Apr' />
     <category label='May' />
     <category label='Jun' />
     <category label='Jul' />
     <category label='Aug' />
     <category label='Sep' />
     <category label='Oct' />
     <category label='Nov' />
     <category label='Dec' />
  </categories>
  <dataset seriesName='Revenue' parentYAxis='S'>
     <set value='170' />
     <set value='610' />
     <set value='142' />
     <set value='135' />
     <set value='214' />
     <set value='121' />
     <set value='113' />
     <set value='156' />
     <set value='212' />
     <set value='900' />
     <set value='132' />
     <set value='101' />
  </dataset>
</chart>

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for the work-around.

 

It fit what i want.

 

 

 

Hi,

 

Not directly, but as work-around, you can choose to use a Combination Dual Y Axis chart, and render all your lines on Secondary Axis (right) + hide the primary Y Axis on the left using these attributes:

 

 showYAxisValues='0' showDivLineSecondaryValue='1' showSecondaryLimits='1'

 

Example XML: (using MSCombiDY2D chart)

<chart  
 showYAxisValues='0' showDivLineSecondaryValue='1' showSecondaryLimits='1' 
 caption='Sales Volume' YAxisName='Revenue' showvalues='0' showShadow='1'
>
  <categories>
     <category label='Jan' />
     <category label='Feb' />
     <category label='Mar' />
     <category label='Apr' />
     <category label='May' />
     <category label='Jun' />
     <category label='Jul' />
     <category label='Aug' />
     <category label='Sep' />
     <category label='Oct' />
     <category label='Nov' />
     <category label='Dec' />
  </categories>
  <dataset seriesName='Revenue' parentYAxis='S'>
     <set value='170' />
     <set value='610' />
     <set value='142' />
     <set value='135' />
     <set value='214' />
     <set value='121' />
     <set value='113' />
     <set value='156' />
     <set value='212' />
     <set value='900' />
     <set value='132' />
     <set value='101' />
  </dataset>
</chart>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this