2017-02-10 91 views

回答

1

您可以使用GetPointerStyle來修改系列的'HorizSizeVertSize屬性。即:

private void Points1_GetPointerStyle(CustomPoint series, GetPointerStyleEventArgs e) 
{ 
    if (e.ValueIndex % 4 == 0) 
    { 
    series.Pointer.HorizSize = 4; 
    series.Pointer.VertSize = 4; 
    } 
    else 
    { 
    series.Pointer.HorizSize = 2; 
    series.Pointer.VertSize = 2; 
    } 
}