User (Legacy) Posted September 3, 2003 Author Report Share Posted September 3, 2003 I just downloaded the free lite version of Chart FX .Net. I have pasted the The Chart.Point Property describtion, from the documentation below. The samples doesn't work for me. The first sample "chart1.Point[1].Color = Color.Red;" has no effect and the second one "chart1.Point[2].PointLabels = true;" results in a compile error that states that PointAttributes does not contain a definition for PointLabels. What the h... is going on? Regards, Henrik M. Chart.Point Property Assigns properties directly to a specific point in your chart. PARAMETERS PARAMETER TYPE DESCRIPTION nPoint Int32 A zero based index indicating the data point in a chart. When a chart only has one series, only a point index is required. TYPE PointAttributes REMARKS Allows you to assign supported properties directly to the specified data point. For supported properties, please see the Point object. SAMPLE Change the second series color to red: [C#] chart1.Point[1].Color = Color.Red; Turn on the point label for the 3rd point in a one series chart: [C#] chart1.Point[2].PointLabels = true; APPLIES TO Chart SEE ALSO RELATED PROPERTIES Color RELATED OBJECTS Point Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 3, 2003 Report Share Posted September 3, 2003 I just downloaded the free lite version of Chart FX .Net. I have pasted the The Chart.Point Property describtion, from the documentation below. The samples doesn't work for me. The first sample "chart1.Point[1].Color = Color.Red;" has no effect and the second one "chart1.Point[2].PointLabels = true;" results in a compile error that states that PointAttributes does not contain a definition for PointLabels. What the h... is going on? Regards, Henrik M. Chart.Point Property Assigns properties directly to a specific point in your chart. PARAMETERS PARAMETER TYPE DESCRIPTION nPoint Int32 A zero based index indicating the data point in a chart. When a chart only has one series, only a point index is required. TYPE PointAttributes REMARKS Allows you to assign supported properties directly to the specified data point. For supported properties, please see the Point object. SAMPLE Change the second series color to red: [C#] chart1.Point[1].Color = Color.Red; Turn on the point label for the 3rd point in a one series chart: [C#] chart1.Point[2].PointLabels = true; APPLIES TO Chart SEE ALSO RELATED PROPERTIES Color RELATED OBJECTS Point Link to comment Share on other sites More sharing options...
Software FX Posted September 9, 2003 Report Share Posted September 9, 2003 Per-point attributes are not supported in ChartFX Lite. Only the color can be changed in a Per-Point basis. -- FP Software FX, Inc. Attachments.zip Attachments.zip Link to comment Share on other sites More sharing options...
Software FX Posted September 9, 2003 Report Share Posted September 9, 2003 Per-point attributes are not supported in ChartFX Lite. Only the color can be changed in a Per-Point basis. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.