Jump to content
Software FX Community

Graphing One Set of Data and Displaying Another...

User (Legacy)

Recommended Posts

Hi Juan and Gang!  I have a really cool graph that I need to display in our

web application. Essentially what I need to do is build the graph below

just as it is being built now, graphing by days, however I need to graph the

# of units ON each series color. For instance, the top yellow bar may

represent 38 days, but I need to display ON the marker or series that 38

days represents 158 units. How do I do that?

Here is my code so far:

oDaysToUnitsChart.OpenDataEx COD_VALUES, iOrderPointsNumSeries, 3

oDaysToUnitsChart.ValueEx(8,0) = 3.7

oDaysToUnitsChart.ValueEx(9,0) = 13

oDaysToUnitsChart.ValueEx(10,0) = 0

oDaysToUnitsChart.ValueEx(11,0) = 0

oDaysToUnitsChart.ValueEx(3,1) = 3.7

oDaysToUnitsChart.ValueEx(4,1) = 13

oDaysToUnitsChart.ValueEx(5,1) = 0

oDaysToUnitsChart.ValueEx(6,1) = 0

oDaysToUnitsChart.ValueEx(7,1) = 16

oDaysToUnitsChart.ValueEx(0,2) = 38

oDaysToUnitsChart.ValueEx(1,2) = 0

oDaysToUnitsChart.ValueEx(2,2) = 38

oDaysToUnitsChart.CloseData COD_VALUES

'----- Then I have the color coding code... I won't bore you with that!

oDaysToUnitsChart.Axis(AXIS_X).Style = AS_HIDETEXT

oDaysToUnitsChart.Axis(AXIS_Y).Title = "Days"

oDaysToUnitsChart.AXIS(AXIS_Y).Decimals = 0

oDaysToUnitsChart.Chart3D = False

oDaysToUnitsChart.Stacked = CHART_STACKED

oDaysToUnitsChart.Gallery = GANTT

oDaysToUnitsChart.Title(CHART_TOPTIT) = "Days to Units Conversion"

oDaysToUnitsChart.MultipleColors = True

oDaysToUnitsChart.MarkerVolume = 100

oDaysToUnitsChart.Border = True

oDaysToUnitsChart.RgbBk = RGB(255,255,255

Can someone PLEEEEEASE help me... I have a deadline rapidly approaching! :(

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...