The following line seems to do nothing:
gauge.GetAxis().GetLabels().SetValueFormat(_T("0"));
Used TeeChart Editor to check label format and value format remains unchanged...
Latest version VS2012 compiler.
Search found 7 matches
- Thu Nov 10, 2016 8:47 am
- Forum: ActiveX
- Topic: How to set gauge series axis label format?
- Replies: 2
- Views: 9698
- Mon Oct 03, 2016 7:21 am
- Forum: ActiveX
- Topic: CircularGauge axis. Can set increment only once.
- Replies: 1
- Views: 7704
CircularGauge axis. Can set increment only once.
CircularGauge axis:
gauge.GetAxis().SetIncrement(500.0);
gauge.GetAxis().SetIncrement(1000.0);
Using editor increment for axis is 500.0 and labels are drawn with increment 500.0.
TeeChart 2016.0.0.2 and C++.
Huh. This series type is really buggy!
gauge.GetAxis().SetIncrement(500.0);
gauge.GetAxis().SetIncrement(1000.0);
Using editor increment for axis is 500.0 and labels are drawn with increment 500.0.
TeeChart 2016.0.0.2 and C++.
Huh. This series type is really buggy!
- Wed Sep 21, 2016 1:08 pm
- Forum: ActiveX
- Topic: CircularGauge circular frame access causes a crash
- Replies: 1
- Views: 7907
Re: CircularGauge circular frame access causes a crash
gauge.SetDisplayRotationAngle(200) and gauge.SetDisplayTotalAngle(30) do work. I can use these. Problem solved.
- Wed Sep 21, 2016 12:17 pm
- Forum: ActiveX
- Topic: CircularGauge circular frame access causes a crash
- Replies: 1
- Views: 7907
CircularGauge circular frame access causes a crash
VS 2012 C++: F.ex.: gauge.GetCircularFrame().SetTotalAngle(200.0); => Access violation in TeeChart2016.ocx gauge.GetCircularFrame().SetRotationAngle(30.0); => Access violation in TeeChart2016.ocx. gauge.GetCircularFrame().GetCircled(); => Access violation in TeeChart2016.ocx So probably GetCircularF...
- Wed Sep 21, 2016 7:31 am
- Forum: ActiveX
- Topic: CircularGauge axis labels
- Replies: 4
- Views: 12735
Re: CircularGauge axis labels
Another question. Is it possible to make axis labels drawn so that they are always inside face area not over axis area:
This does not look good!
This does not look good!
- Mon Sep 19, 2016 11:05 am
- Forum: ActiveX
- Topic: CircularGauge axis labels
- Replies: 4
- Views: 12735
Re: CircularGauge axis labels
Using VS2012 C++ code line: gauge.GetRanges().GetItems(0); causes an access violation when InvokeHelper is called: CGaugeRange CGaugeRanges::GetItems(long Index) { LPDISPATCH pDispatch; static BYTE parms[] = VTS_I4; InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms, Inde...
- Fri Sep 16, 2016 7:38 am
- Forum: ActiveX
- Topic: CircularGauge axis labels
- Replies: 4
- Views: 12735
CircularGauge axis labels
For f.ex. line series I use "GetAxisLabels" event to modify labels. The same method does not seem to work for circular gauge series internal axis. Java version seems to have "AxisLabelResolver" and "AxisLabelAdapter" combo which can be used to do this (according to forum posts I found using forum se...