whitespace COMPANY whitespace SERVICES whitespace PRODUCTS whitespace PURCHASE whitespace SUPPORT whitespace CONTACTS whitespace Home whitespace Contact Us whitespace Site Map whitespace
whitespace
SUPPORT
whitespace
FORUM
whitespace
FAQS
whitespace
SUBSCRIPTION
whitespace
REQUEST ON-LINE
whitespace
whitespace

Technical Support Forum

Welcome Guest Search | Active Topics | Log In | Register

Number of gridlines? Options · View
gpasq
#1 Posted : Friday, March 19, 2010 4:09:05 AM
Rank: Newbie

Groups: Registered

Joined: 3/18/2010
Posts: 3
Location: Denver, CO
Is there are way to specify the number of gridlines visible on an axis? I'm trying setInterval on the scale and that's not doing it.

I'm evaluating this toolkit for purchase, and I have to say... the functionality is pretty good, but the documentation is absolutely horrible.
Baydalka Volodymyr
#2 Posted : Friday, March 19, 2010 6:41:37 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi,

Thank you for bug report. Actually, the method ChartAxis.getScale().setInterval should set interval, it just doesn't refresh the chart. Try to call ChartArea.refresh() method after that.

Best regards,
Volodymyr Baydalka
Andriod development and support team
gpasq
#3 Posted : Friday, March 19, 2010 7:02:22 PM
Rank: Newbie

Groups: Registered

Joined: 3/18/2010
Posts: 3
Location: Denver, CO
THanks for the help, but that didn't do it.
Baydalka Volodymyr
#4 Posted : Monday, March 22, 2010 8:49:25 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi,

Check new aiCharts release. That bug should be fixed.

Best regards,
Volodymyr Baydalka
Andriod development and support team
aazwork
#5 Posted : Friday, June 18, 2010 2:11:23 PM
Rank: Guest

Groups:

Joined: 7/9/2009
Posts: 4,320
gpasq wrote:
Is there are way to specify the number of gridlines visible on an axis?


I have similar question: How to limit count of labels on X-axis ?

I have a lot of points in the series.
When I draw all of them, x-axis labels are overlapping (it looks like one white rectangle)

Financial Demo shows that it is possible to have only a few labels on X axis. Bun I did not understand how to do it.
example: We have column chart.
we can see 11 vertical columns and following labels on X-axis
0 - 5 - 10
after zoom in we have 7 columns and following labels
2 - 4 - 6 - 8
zoom in again and see 3 columns and following labels
4 - 5 - 6
aazwork attached the following image(s):
Axis labels on aiChart.png (44kb) downloaded 51 time(s).
pturchenko
#6 Posted : Friday, June 18, 2010 4:12:20 PM
Rank: Guest

Groups:

Joined: 7/9/2009
Posts: 4,320
Please specify which labels options you use (LabelsMode.SeriesLabels or manual interval setting). Try disabling them. Please note: you will receive much faster support if you provide us with samples that demonstrate misbehavior (instead of screenshots).
aazwork
#7 Posted : Friday, June 18, 2010 5:07:55 PM
Rank: Guest

Groups:

Joined: 7/9/2009
Posts: 4,320
curious, but at the same moment I understood how to do it, and intended to write appropriate comment here :)

Really, I set SeriesLabels as LabelsMode.
I got needed results, when I changed LabelsMode to RangeLabels. (seems, that is default options)
Code:
xAxis.setLabelsMode(ChartAxis.LabelsMode.RangeLabels);


But I still don't understand how to increase quantity of vertical (horizontal) gridlines ?
aazwork attached the following image(s):
Axis labels on aiChart_2.png (14kb) downloaded 44 time(s).
Baydalka Volodymyr
#8 Posted : Saturday, June 19, 2010 12:44:52 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi,

Try to increase ChartAxis.getScale().setDesiredIntervalCount() value, then the chart tries to compute the specified number of intervals.

Best regards,
Volodymyr Baydalka
Andriod development and support team
aazwork
#9 Posted : Monday, June 21, 2010 11:26:10 AM
Rank: Guest

Groups:

Joined: 7/9/2009
Posts: 4,320
TYVM!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Company | Services | Practices | Technologies | Career | Contacts | Privacy
© 2005-2017 ArtfulBits. All rights reserved.