teralco

Property Divintervalhints Doesn't Work

Recommended Posts

Hi,

 

I'm using divIntervalHints property in a MS Line 2D Chart, but it's seems that don't work. The divisions of Y axis doesn't multiply of 500.

 

I include the XML and an image of the graph.

 

Thanks.

chart.xml

post-27896-0-99935100-1352971076_thumb.png

Share this post


Link to post
Share on other sites

Hi,

 

Setting divIntervalHints attribute is not supported in a Line chart. Only Zoomline charts supports this attribute currently.

 

Hope this helps.:)

Share this post


Link to post
Share on other sites

Is there anyway to do that actually using MS Line?

 

Will be soon able in this kind of graph?

 

Thanks.

 

Hi,

 

Setting divIntervalHints attribute is not supported in a Line chart. Only Zoomline charts supports this attribute currently.

 

Hope this helps.:)

Share this post


Link to post
Share on other sites

Hi,

 

Yes, as a work around adjust the number of Divisional lines using the numDivLines attribute in your <chart> element. Depending on the values, you would need to manually calculated and pass it to numDivLines attribute.

 

For the XML attached, set numDivLines as 11 to get divisional lines in multiples of 500.

 

Please find the attached screenshot.

 

Hope this helps.

Capture.PNG

Share this post


Link to post
Share on other sites

Ok, my problem is that I have to do it dynamically. This parameter will be different for different data. Can I apply some formula to obtain a well result for the numDivLines parameter having Y max value and y min value?

 

Thanks.

 

Hi,

 

Yes, as a work around adjust the number of Divisional lines using the numDivLines attribute in your <chart> element. Depending on the values, you would need to manually calculated and pass it to numDivLines attribute.

 

For the XML attached, set numDivLines as 11 to get divisional lines in multiples of 500.

 

Please find the attached screenshot.

 

Hope this helps.

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