Search found 15 matches

by Thomas
Sun Feb 16, 2014 11:26 am
Forum: .NET
Topic: Linear gauge bug
Replies: 11
Views: 16965

Re: Linear gauge bug

device - PocketBook surpad 2.
In my commercial project i have 2 scrollviews, each have 5 - 50 charts (LinearGauges and Circular gauges).
by Thomas
Sun Feb 16, 2014 11:22 am
Forum: .NET
Topic: LinearGage numeric value
Replies: 10
Views: 15456

Re: LinearGage numeric value

Thanks. It works
by Thomas
Fri Feb 14, 2014 12:31 pm
Forum: .NET
Topic: LinearGage numeric value
Replies: 10
Views: 15456

Re: LinearGage numeric value

Still cannot change border color (see my 1st post in this topic).
Frame property is other frame, not the frame near hand (see attachment to first post).
by Thomas
Fri Feb 14, 2014 12:28 pm
Forum: .NET
Topic: Custom font Xamarin.Android
Replies: 2
Views: 5745

Re: Custom font Xamarin.Android

Thank you very much. It works
by Thomas
Fri Feb 14, 2014 12:27 pm
Forum: .NET
Topic: Linear gauge bug
Replies: 11
Views: 16965

Re: Linear gauge bug

Thanks for your replies.
Performace is increasing but not enough for smooth scrolling (i have about 50 charts in my real project scroll)
I ended up with classic zoom style. Bug with skew chart is magical :) it appearce on my 7" chinese tablet every time, on other devices 1 for 50 times.
Thanks
by Thomas
Wed Feb 12, 2014 9:55 am
Forum: .NET
Topic: Linear gauge bug
Replies: 11
Views: 16965

Re: Linear gauge bug

https://drive.google.com/file/d/0B0LJ5P ... sp=sharing
Sample project. With ZoomStyle.None scroll works bad. with ZoomStyle.FullChart - works better, but there is problem (see my 1st post)
by Thomas
Tue Feb 11, 2014 1:20 pm
Forum: .NET
Topic: Linear gauge bug
Replies: 11
Views: 16965

Re: Linear gauge bug

I use code from demo when i has linearGauges in simple LinearLayout. It works good.
But when gauges are childs of scrallable ScrollView - problems appear.
Scroll works very bad, parts of charts are drawing in wrong places, some of gauges is not drawing at all.
by Thomas
Tue Feb 11, 2014 10:56 am
Forum: .NET
Topic: Linear gauge bug
Replies: 11
Views: 16965

Linear gauge bug

Hi! I'm using Xamarin.Android Teechart. I have about 10 LinearGauges in ScrollView with live data (400 ms update). The gauge looks skew (see attachment) sometimes. On some devices it looks skew almost all time, on others - almost never. When i change zoom style to chart.Zoom.Style = Steema.TeeChart....
by Thomas
Thu Jan 30, 2014 1:11 pm
Forum: .NET
Topic: Xamarind.Android System.Drawing.Color != Android.Color
Replies: 6
Views: 10980

Re: Xamarind.Android System.Drawing.Color != Android.Color

The difference appearance not between FaceBrush and Panel colors.
It appears between android LinearLayout background color and Chart Panel color.
Sorry for misleading information.
by Thomas
Thu Jan 30, 2014 11:52 am
Forum: .NET
Topic: Xamarind.Android System.Drawing.Color != Android.Color
Replies: 6
Views: 10980

Re: Xamarind.Android System.Drawing.Color != Android.Color

Hi!
It appears in CircularGauge.FaceBrush.Color.
Pen color doesn't help to solve this issue.
Steema.TeeChart.Utils.ToAndroidColor() returns correct color, but it looks darker on the screen.
by Thomas
Fri Jan 24, 2014 9:33 am
Forum: .NET
Topic: Custom font Xamarin.Android
Replies: 2
Views: 5745

Custom font Xamarin.Android

Hi! I use Xamarin.Android and Xamarin.iOs. I need to dispaly chart data with Calibri font. On iOs when i set g.Font.Name = "Calibri" everything is ok. But on android it does nothing. The font isn't changing. I tried to load custom font from .ttf file var textPaint = new TextPaint (); textPaint.SetTy...
by Thomas
Thu Jan 23, 2014 10:05 am
Forum: .NET
Topic: LinearGage numeric value
Replies: 10
Views: 15456

Re: LinearGage numeric value

Size of drawing text is strange. Text "100000" has height > widht. height is very big. I I found solution var topleft = gauge.AxisRectangle.Location; g.TextOut (topleft.X + gauge.AxisRectangle.Width/2, topleft.Y - (int)textSize.Height + gauge.AxisRectangle.Height - (gauge.AxisRectangle.Height - g.Fo...
by Thomas
Tue Jan 21, 2014 1:14 pm
Forum: .NET
Topic: LinearGage numeric value
Replies: 10
Views: 15456

Re: LinearGage numeric value

Thanks. 1-st part works perfect.
Frame color deosn't work. When i make FrameVisible, disable Middle and outer bands It draws one more rectangle outside small thin frame. Seems like frame on first screenshot - is not related to LinearLayout.Frame property.
by Thomas
Sat Jan 18, 2014 4:33 pm
Forum: .NET
Topic: LinearGage numeric value
Replies: 10
Views: 15456

LinearGage numeric value

Hi! I'm using Xamarin.Android teechart. I want to place numeric representation of value in LinearGauge in center of bar (like on screenshot) I draw that value in AfterDraw event. But when i calculate size from the top left corner of chart - and adjust it to specific device - on another device it is ...
by Thomas
Wed Jan 15, 2014 10:58 am
Forum: .NET
Topic: Xamarind.Android System.Drawing.Color != Android.Color
Replies: 6
Views: 10980

Xamarind.Android System.Drawing.Color != Android.Color

Hi. For xamarin android teecharts we use System.Drawing.Colors. For native controls we use Android.Graphics.Color. But with the same argb components they look different. For example #333333 color in System.Drawing.Color on charts is darker than Android.Graphics.Color? Maybe there is some property in...