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

Options
View
Go to last post Go to first unread
nehaverma  
#1 Posted : Tuesday, January 22, 2013 12:44:06 PM(UTC)
nehaverma
Rank: Newbie

Groups: Registered
Joined: 1/22/2013(UTC)
Posts: 1
Location: Bangalore

Hi

I am evaluating AiCharts for one my projects.

I want to modify the Column Chart to look like a vertical Barometer. Please see attached picture.

Let me know if this level of customization is possible in AiCharts.

Thanks


nehaverma attached the following image(s):
Charts.png (22kb) downloaded 9 time(s).

You cannot view/download attachments. Try to login or register.
Baydalka Volodymyr  
#2 Posted : Monday, January 28, 2013 2:01:00 PM(UTC)
Baydalka Volodymyr
Rank: Member

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

Hi,

There is some code to modification

Code:
ChartView chartView = new ChartView(this);
ChartArea area = new ChartArea();
ChartSeries series = new ChartSeries("", ChartTypes.Column);

area.getDefaultYAxis().setPosition(Position.Right);
area.getDefaultYAxis().getScale().setRange(0, 100);
area.getDefaultXAxis().setVisible(false);
area.getDefaultXAxis().getScale().setRange(-0.5, 0.5);

ChartPoint progressPoint = new ChartPoint(0, yourValue); // change your value
series.getPoints().add(progressPoint);
series.setAttribute(ChartType.POINT_WIDTH, 1f);
series.setBackDrawable(getDrawable(R.drawable.column)); // column gradient

chartView.getSeries().add(series);
chartView.getAreas().add(area);

setContentView(chartView);


However, aiCharts it not a best choice to represent vertical ProgressBar.

Best regards,
Volodymyr Baydalka
Andriod development and support team
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.