Jump to content
Software FX Community

Jeffulot

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Jeffulot

  1. I'm trying to get the month names along the X axis.

    In my attempts, I either get a few months and then no more get shown, or just no months.

    My data has no specific number of items in each month... I'm just trying to program a trigger to set a new month for the corresponding data above it.  It would work pretty easy if I have one data item for each month I guess.

    Is there a way to make it work the way I'm needing it to? I've been looking at the exmaples and cannot determine how.

     

    Here is my code as it dies not try to display the months.

     

     With Chart1   .ToolBar = False   .Gallery = Gallery.Lines   .Border = True   .AxisY.Max = 2000   .AxisY.Min = 100   .Chart3D = False   .Grid = ChartGrid.Horz Or ChartGrid.Vert   .OpenData(COD.Values, 4, 12)   While sdr.Read   If MonthName(Month(sdr.Item("kitty_date"))) <> usemonth Then   usemonth = MonthName(Month(sdr.Item("kitty_date")))   .Legend(month_counter) = usemonth   month_counter = month_counter + 1   End If   .Value(0, yval) = sdr.Item("total_kitty")   yval = yval + 1   End While   .CloseData(COD.Values) 'It requires to import SoftwareFX.ChartFX.Lite   End With

×
×
  • Create New...