Incident Details
Assigned to Employee: Former Employees
  Incident ID:
Title: other problems
Creator:  Fanko Uff  (igospodinov@eicos-bg.com) Created: 12/22/2004 # of Updates: 3 Current Status: Completed
Latest Reply
History
Attachments


Reply# 3 by: Robert Hendrix (Software FX) Date: 2/10/2005 4:38:13 PMEST
Dear Fanko Uff:

The problem
setting Name and Size for PointLabelFont has been resolved. Attached is the latest versions of the components. Unfortunately we do not have an updated installer program or service pack for this product yet, you will manually need to update the components.

[See Attachment: CfxIE62.zip]


Regards,
Robert Hendrix
Attached File
  CfxIE62.zip (0 bytes)


Reply# 2 by: Robert Hendrix (Software FX) Date: 12/23/2004 3:12:19 PMEST
Dear Fanko Uff:

I was able to reproduce problems 1 and 2. I reported them to development.


3. Unfortunately I am not aware of a way to prevent this, however, you could create your own UserLegend to create you own custom legend. This would be the current workaround.

4. We support the PointLabelAlign and PointLabelOffset properties you can use to control point labels.

5. There is a pointLabelMask property you can use to customize the labels. You could also create an AnnotationText object and place that as a label in the chart.

Regards,
Robert Hendrix


Reply# 1 by: Fanko Uff Date: 12/22/2004 10:29:07 AMEST

Thank you again for the reply.

I have created an application of Visual Basic 6, which uses Chart Fx Internet 5.5 for creating graphs and imagemaps in separate files.

These graph and imagemaps would be used into asp pages. After instalation of Chart Fx Internet 6.2 I have updated my application

in order to use the new version of the Chart Fx. But the application crushes when executing the line with Chart.GetHtmlTag().

This same code WORKS perfectly in asp page. What is the reason this code to stop working in VB application?

 

'---- code ----

    Dim Chart

 

    '--- ASP CODE

    'Set chart=server.CreateObject("ChartFX.ASP.Server")

 

    '--- VB6 CODE

    Set Chart = CreateObject("ChartFX.ASP.Server")

 

    Chart.Chart3D = False

    Chart.Gallery = Gallery_Bar

    Chart.Stacked = Stacked_Stacked100

    Chart.BottomGap = 30

 

    ' Populating with random data

    Chart.OpenData COD_Values, 4, 8

    Dim j, i

    For i = 0 To 3

        For j = 0 To 7

            Chart.Value(i, j) = (Rnd()) * 99 + 1

            Chart.Point(i, j).Tag = CStr(CLng(Rnd * 10000 + 1)) '-- ID

        Next

    Next

    Chart.CloseData COD_Values

   

    '---- Legend

    Chart.SerLegBox = True

    Chart.SerLegBoxObj.Alignment = ToolAlignment_Near

    Chart.SerLegBoxObj.Docked = Docked_Bottom

    Chart.series(0).Legend = "Product 1"

    Chart.series(1).Legend = "Product 2"

    Chart.series(2).Legend = "Product 3"

 

    '---- labels

    chart.Legend(0) = "Jan"

    chart.Legend(1) = "Feb"

    chart.Legend(2) = "Mar"

    chart.Legend(3) = "Apr"

    chart.Legend(4) = "May"

    chart.Legend(5) = "Jun"

    chart.Legend(6) = "Jul"

    chart.Legend(7) = "Aug"

    chart.AxisX.Step = 1

 

   

    Chart.TipMask = "%L"

    Chart.link.URL = "index.asp?uID=%L"

 

    '---- Change colors ----

    Chart.OpenData COD_Colors, 0, 0

    For j = 0 To 3

        Chart.series(i).Color = Rnd * vbWhite

    Next

    Chart.CloseData COD_Colors

    '----------------------

 

    Dim c

 

    '--- ASP CODE

    'response.write Chart.GetHtmlTag("320", "240", "Png")

    '

 

    '--- VB6 CODE

    'Call Chart.GetHtmlTag(320, 240, "Png")

    'c = Chart.GetHtmlTag(320, 240, "Png")

    c = Chart.GetHtmlTag("320", "240", "Png")

 

 

 

other problems with Fx 6.2

 

I receive an error when I try to change the name or size of the Font of PointLabel in asp page:

 

    Chart.Point(-1,0).PointLabels = True

    Chart.OpenData COD_Values, 4, 8

    Dim j, i

    For i = 0 To 3

        For j = 0 To 7

            Chart.Value(i, j) = (Rnd()) * 20

            Chart.Point(i, j).Tag = Rnd * 10000 + 1 '-- ID

            chart.series(i).PointLabelAngle=45

            chart.point(i,j).PointLabelAngle=90

            chart.point(i,j).PointLabelFont.Name = "Arial"  '---> exception occured 'Name'

            chart.point(i,j).PointLabelFont.Size = 7        '---> exception occured 'Size'

            chart.point(i,j).PointLabelColor = Rnd * vbWhite

        Next

    Next

    Chart.CloseData COD_Values

 

 

How can I prevent the possibility to be clicked over the elements of legendBox in asp page with imagemap ?

 

 

How can I change the positions of the Pointlabels, like this graph, where there are the pointlabels above the bars?

 

 

 

Is there any way to create  a custom aggregate label above the bars of the stackbar (for example) ?

 

Thank you

 

Regards,

Fanko

 

Attached File
  image001.gif (0 bytes)


Copyright © 2009 Software FX, Inc. All Rights Reserved.