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! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages12>
Options
View
Go to last post Go to first unread
Vinoth  
#1 Posted : Tuesday, December 18, 2012 10:31:14 AM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

I am shifting the chart by 50% once it reaches some value. For this i am using setRange method. But once i set the range , the vertical grids not coming properly as it is coming before setting the range. I am doing it by

chartArea.getDefaultXAxis().getScale().setRange(50.0,100.0);

Could you please tell me how solve this.?
Vinoth  
#2 Posted : Thursday, December 20, 2012 4:13:48 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,
Attached screenshots for before and after doing setRange for your reference.
Vinoth attached the following image(s):
Before setRange.png (123kb) downloaded 81 time(s).
After setRange.png (59kb) downloaded 78 time(s).

You cannot view/download attachments. Try to login or register.
Baydalka Volodymyr  
#3 Posted : Thursday, December 20, 2012 5:50:11 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

Could you provide your chart settings? Do you use ChartAxis.setValueType and ChartAxis.setlabelAdapter ?

Best regards,
Volodymyr Baydalka
Andriod development and support team
Vinoth  
#4 Posted : Thursday, December 20, 2012 6:19:08 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

No.. I am not setting setValueType or setLabelAdapter. But i am using setInterval..
Vinoth  
#5 Posted : Thursday, December 20, 2012 6:47:59 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

Whether the given info is enough for you? Did you get the solution.?
Vinoth  
#6 Posted : Thursday, December 20, 2012 7:08:58 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

As i need to implement this urgently, Could you please response?
Baydalka Volodymyr  
#7 Posted : Thursday, December 20, 2012 7:15:53 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

What values do you set for setInterval and what version of chart do you use?

Best regards,
Volodymyr Baydalka
Andriod development and support team
Vinoth  
#8 Posted : Thursday, December 20, 2012 7:20:21 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

I am using th following line

ChartArea.getDefaultXAxis().getScale().setInterval(40, IntervalType.Seconds);

I am using the v1.5. I can not change the version now as i am using method which is not in the latest version. I can not rework on that in the current situation. Please help me out.
Vinoth  
#9 Posted : Thursday, December 20, 2012 7:22:44 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

Actually i am using timestamp in the x-axis of the chart. Once it reachs 40seconds, the chart should move 50% to the left.
Baydalka Volodymyr  
#10 Posted : Thursday, December 20, 2012 7:30:42 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

We was faced with this bug like that and it should be fixed in version 1.7. What methods do you need? Please check - http://docs.artfulbits.c...uide/compatibility.html. We can help you to upgrade your code.

Best regards,
Volodymyr Baydalka
Andriod development and support team
Vinoth  
#11 Posted : Thursday, December 20, 2012 7:33:11 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

The url is not opening. Where can i get the latest version and how can i put my existing license to it.
Baydalka Volodymyr  
#12 Posted : Thursday, December 20, 2012 7:36:54 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Volodymyr Baydalka
Andriod development and support team
Vinoth  
#13 Posted : Thursday, December 20, 2012 7:39:06 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

I am getting following problems with the V1.7 lib.

ChartView.addArea() - This method is deprecated
ChartArea.getDefaultXAxis().setFormat(new SimpleDateFormat("HH:mm:ss")) - This method is deprecated
ChartArea.getDefaultXAxis().setLabelsMode(LabelsMode.HybridLabels) - There is no LabelsMode class
ChartLegend.setItemsProvider(new LegendItemsProvider.SeriesItemsProvider()) - There is no LegendItemsProvider class

Could you please tell me the alternatives for this methods in the V1.7?


Edited by user Thursday, December 20, 2012 7:41:47 PM(UTC)  | Reason: Not specified

Baydalka Volodymyr  
#14 Posted : Thursday, December 20, 2012 7:49:01 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

ChartView.addArea()
Recommended to create it manually

ChartArea area = new ChartArea();
chartView.getAreas().add(area);

ChartArea.getDefaultXAxis().setFormat(new SimpleDateFormat("HH:mm:ss"))
ChartArea.getDefaultXAxis().setLabelFormat(new SimpleDateFormat("HH:mm:ss"))

ChartArea.getDefaultXAxis().setLabelsMode(LabelsMode.HybridLabels)

due docs.artfulbits.com/aicharts/android/guide/compatibility.html

ChartArea.getDefaultXAxis().setLabelsAdapter(ChartAxis.SMART_LABELS_ADAPTER);

ChartLegend.setItemsProvider(new LegendItemsProvider.SeriesItemsProvider())
due docs.artfulbits.com/aicharts/android/guide/compatibility.html

chartLegend.setAdapter(new ChartLegenedAdapter.SeriesItemsAdapter());

In most cases documentation for all deprecated method contains reference for alternative methods

Best regards,
Volodymyr Baydalka
Andriod development and support team
Vinoth  
#15 Posted : Thursday, December 20, 2012 8:01:35 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

Thanks. But in this version also i am not getting grids. Could you please tell me what else i can try? Please
Vinoth  
#16 Posted : Thursday, December 20, 2012 8:15:40 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,


Could you please response quickly?
Vinoth  
#17 Posted : Thursday, December 20, 2012 8:38:47 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

Skype id : vinovinvino
Baydalka Volodymyr  
#18 Posted : Thursday, December 20, 2012 8:43:05 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

If you use ChartAxis.setLabelsAdapter or ChartAxis.setLabelsMode, grid appears only below points.

Best regards,
Volodymyr Baydalka
Andriod development and support team
Vinoth  
#19 Posted : Thursday, December 20, 2012 8:49:26 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,

So what i need to do to get the grids always with the label foramt HH:mm:ss..?

Edited by user Thursday, December 20, 2012 8:53:27 PM(UTC)  | Reason: Not specified

Vinoth  
#20 Posted : Thursday, December 20, 2012 8:59:11 PM(UTC)
Vinoth
Rank: Advanced Member

Groups: Registered
Joined: 4/25/2012(UTC)
Posts: 68
Location: India

Hi,


Yes. If i remove setLabelFormat and setLabelsAdapter method, i am getting the grid always. But the labels are coming as 0,10,20...40.. But i need the labels should be in HH:mm:ss format. Please tell me what i need to do to get this format.

Edited by user Thursday, December 20, 2012 9:00:16 PM(UTC)  | Reason: Not specified

Users browsing this topic
Guest (3)
2 Pages12>
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.