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

Gridlines on Chart with several ChartSeries. Options · View
aazwork
#1 Posted : Monday, June 21, 2010 7:15:27 PM
Rank: Member


Groups: Registered

Joined: 6/10/2010
Posts: 29
Location: Belarus
1) There are two ChartSeries on one ChartArea (Candle and Column types). There are two Y-axis and one common X-axis.
Problem: candle is placed on left side and column is placed on right side of gridline. I would like, that gridline crosses the respective candle and column in the middle.
see first screenshot below

2)Same chart. Made Zoom In. We can see, that gridlines and their labels have incorrect placement.
If made Zoom In again. Gridlines and their labels took correct places.
see screenshots below
aazwork attached the following image(s):
aiChart_Gridline.png (26kb) downloaded 120 time(s).
aiChart_Gridlines2.png (16kb) downloaded 119 time(s).
aiChart_Gridlines3.png (13kb) downloaded 119 time(s).
regards
Baydalka Volodymyr
#2 Posted : Tuesday, June 22, 2010 5:00:51 PM
Rank: Developers Team


Groups: Registered, Administrators

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

1) This behavior is implemented to avoid the points overlapping. Unfortunately there is not ability to disable this behavior at this moment.
2) Thank you for bug report. Please provide axis range (minimal/maximal value of axis) and parameters of ChartAxis ans ChartAxisScale that you have changed

Best regards,
Volodymyr Baydalka
Andriod development and support team
aazwork
#3 Posted : Tuesday, June 22, 2010 7:09:38 PM
Rank: Member


Groups: Registered

Joined: 6/10/2010
Posts: 29
Location: Belarus
Baydalka Volodymyr wrote:
1) This behavior is implemented to avoid the points overlapping. Unfortunately there is not ability to disable this behavior at this moment.
Very sad :( I'm sure, You'll fix that.

Baydalka Volodymyr wrote:
2) Thank you for bug report. Please provide axis range (minimal/maximal value of axis) and parameters of ChartAxis ans ChartAxisScale that you have changed
Third screenshot shows values for incorrect Chart view.
aazwork attached the following image(s):
aiChart_xAxis_1.png (12kb) downloaded 108 time(s).
aiChart_xAxis_2.png (13kb) downloaded 108 time(s).
aiChart_xAxis_3.png (13kb) downloaded 108 time(s).
aiChart_xAxis_4.png (13kb) downloaded 108 time(s).
regards
Baydalka Volodymyr
#4 Posted : Thursday, June 24, 2010 4:34:38 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Do you use the ChartAxis.setLabelsMode(LabelsMode.HybridLabels) or set the ChartAxis.setValueType(ValueType.Date)?

Best regards,
Volodymyr Baydalka
Andriod development and support team
aazwork
#5 Posted : Monday, June 28, 2010 10:40:55 AM
Rank: Member


Groups: Registered

Joined: 6/10/2010
Posts: 29
Location: Belarus
Code:
ChartAxis xAxis = candleSeries.getActualXAxis();
xAxis.setLabelPosition(ChartAxis.LabelPosition.Outside);
xAxis.setLabelsMode(ChartAxis.LabelsMode.HybridLabels);
xAxis.setValueType(ChartAxis.ValueType.Double);
regards
Baydalka Volodymyr
#6 Posted : Wednesday, June 30, 2010 12:58:45 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Please, check the updated version of aiCharts library - version 1.5.0.2


Regarding issue #1. There are workaround to disable that behavior. Just try to use next custom type instead ChartHiLoOpenCloseType.

Code:
public static final ChartType MY_TYPE = new ChartHiLoOpenCloseType()
{
    public boolean isSideBySide()
    {
        return false;
    }
};


Best regards,
Volodymyr Baydalka
Andriod development and support team
alexk
#7 Posted : Wednesday, June 30, 2010 1:28:36 PM
Rank: Administration


Groups: Registered

Joined: 7/28/2009
Posts: 55
Location: Ukraine, Lviv
to get link on latest version please pass "trial request form" one more time. Thanks.
ArtfulBits Team
Product Director
aazwork
#8 Posted : Thursday, July 15, 2010 12:16:39 PM
Rank: Member


Groups: Registered

Joined: 6/10/2010
Posts: 29
Location: Belarus
Same problem has been detected again.
Code:
ChartAxis xAxis = area.getDefaultXAxis();
xAxis.setLabelsMode(ChartAxis.LabelsMode.HybridLabels);
xAxis.setValueType(ChartAxis.ValueType.Date);

ChartAxisScale axisScaleX = xAxis.getScale();
axisScaleX.setDesiredIntervalCount(3);

aazwork attached the following image(s):
aiChart_Gridlines4.png (15kb) downloaded 63 time(s).
aiChart_Gridlines5.png (9kb) downloaded 63 time(s).
regards
Baydalka Volodymyr
#9 Posted : Thursday, July 15, 2010 8:20:27 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Unfortunately, we're not able to reproduce this bug for any usecase. Could you provide a sample that demonstrates it? This will allow us to deliver patch much faster. You will be updated with fixed version by sending request mail to sales@artfulbits.com

Best regards,
Volodymyr Baydalka
Andriod development and support team
aazwork
#10 Posted : Monday, July 26, 2010 10:54:03 AM
Rank: Member


Groups: Registered

Joined: 6/10/2010
Posts: 29
Location: Belarus
Unfortunately, there are a lot of other tasks.
To solve this problem I use RangeLabels
Code:
xAxis.setLabelsMode(ChartAxis.LabelsMode.RangeLabels);
regards
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-2016 ArtfulBits. All rights reserved.