User (Legacy) Posted October 9, 2001 Report Share Posted October 9, 2001 I want the bars on my chart to have no gaps inbetween I set the volume for both the chart and series to 100 percent My question is, why are there random gaps when I zoom in? Actually, they appear to be uniformly spaced. Is there some lame conversion/truncation that misses certain pixels? What can I do to fix this? Here is some sample code: NumDataPts = 1867 StepSixe = NumDataPts / 10 With FormGraph.ChartFX1 .Scrollable = False .Volume = 100 'no gaps between bars .MultipleColors = True .OpenDataEx COD_VALUES Or COD_REMOVE, 1, NumDataPts .Series(0).Gallery = BAR .Series(0).Volume = 100 ' NO GAPS PLEASE!!! .Axis(AXIS_X).ClearLabels .Axis(AXIS_X).Title = "Time (mS)" .Axis(AXIS_X).TitleColor = RGB(255, 255, 255) .Axis(AXIS_X).STEP = StepSize .Axis(AXIS_Y).Title = "dB" .Axis(AXIS_Y).TitleColor = RGB(255, 255, 255) .Axis(AXIS_Y).AutoScale = True .CloseData COD_VALUES End With Link to comment Share on other sites More sharing options...
Software FX Posted October 10, 2001 Report Share Posted October 10, 2001 This is the space for borders. Just add borders to the bars, you can make them the same color. ChartFX1.Border = True ChartFX1.BorderColor = ChartFX1.Color(0) Notes: - If you have more than one series, just assign the BorderColor of each series to the fill color of the same series. - Setting the global volume to 100 is enough if no volume is explicitly to each series. -- 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.