Jump to content
Software FX Community

OLAP AND XML


User (Legacy)

Recommended Posts

Hello,

I am testing the OLAP extension with Visual Basic .Net.

I can't use a database. I need to work with XML Files.

Where can I find the structure of the XML file?

I can't bind a XML file to the OLAP component.

Code:

1. Me.Chart1 = New SoftwareFX.ChartFX.Chart

2. Dim Olap1 As New SoftwareFX.ChartFX.Olap.WinForms.OlapExtension

3. Chart1.Extensions.Add(Olap1)

4.

5. Dim XmlOlap1 As New SoftwareFX.ChartFX.Olap.WinForms.XmlAnalysisData

6. XmlOlap1.Load("C:\olap.xml")

7. Olap1.DataSource = XmlOlap1

An error occurs in line 7: Object reference not set to an instance of an

object.

Thanks!

Oriol Tom

Link to comment
Share on other sites

Unfortunately the OLAP extension does not have an API that allows you to set

the XML string. This is a simple feature for us to add so we should do it in

a future service pack.

The problem is that the XML structure we are prepared to handle is the one

generated by XML for Analysis. This is not a simple XML file if you want to

generate it manually.

--

Regards,

JC

Software FX Support

"Oriol Tom

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...