![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | Radar series values always are painted in anticlockwise although the labels are drawn in clockwise. | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | CC: | chris |
| Priority: | High | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://teechart.net/directline/viewtopic.php?f=6&t=1061 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
sandra pazos
2016-02-05 05:09:02 EST
This change was taken out by design. The fact that string label positions (and not value label positions) are changed should not necessarily change the positions of the values. The recommended way of working is this:
Radar line;
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
line = new Radar(tChart1.Chart);
int length = 10;
line.CircleLabels = true;
for (int i = 1; i <= length; i++)
{
double angle = (360 / length) * i;
line.Add(angle, angle, angle.ToString());
}
}
private void button4_Click(object sender, EventArgs e)
{
line.ClockWiseLabels = !line.ClockWiseLabels;
line.XValues.Order = line.ClockWiseLabels ? ValueListOrder.Descending : ValueListOrder.Ascending;
line.XValues.Sort();
}
|