few questions and one bug
Posted: Mon Nov 21, 2011 8:13 am
Hi, I have few questions:
1) I have problems with font display. If I figured out correctly, ReportsFx uses fonts from client machine and rely on fall-back mechanism on client machine if font type found in .mrt is not found. Is there a way to load fonts in ReportsFx from server (since Flash in general allows custom fonts)? If not, is there mechanism similar to font stacks with precisely defined fall-back scheme as used in typical CSS?
2) Can you provide some more info regarding XML type of connection? In my particular case I have to retrieve data from JSON objects of rather complex structure (lots of nesting and variable length of data arrays) before sending that data to ReportsFx, so it would be logical to use equivalent XML described with appropriate XSD. But, I'm a bit confused on how to use XML type of connection. I have found on this forum few topics regarding this issue (here and here) however it seems to me that simple XML structure is used to describe data rather than proper XSD. On the other hand, with demo package for RporstFx came two files (Demo.xsd and Demo.xml) which got me puzzled on what is appropriate way to use XML data sources.
Also, what is function of FlexAdapterXmlData in config file? If I figured out correctly, I should set FlexAdapterXmlData to false, and return my own data in functions declared in database_xml.php? In that case, what should be set in xsd path and xml path fields that are prompted when I try to make XML connection? And should I return proper XSD file on RetriveColumns request or am I limited to structure Vladimir described in post I've linked above?
Bug:
when ever I try to enter any text "Title" field in "Legend" part of Chart parameters, application crashes (most of data disappear in both designer and preview window, controls become unresponsive and I have to reload app.) This does not happen if Series is not set for Chart, how ever as soon as I set Series for chart app. crashes.
best regards
Uroš
1) I have problems with font display. If I figured out correctly, ReportsFx uses fonts from client machine and rely on fall-back mechanism on client machine if font type found in .mrt is not found. Is there a way to load fonts in ReportsFx from server (since Flash in general allows custom fonts)? If not, is there mechanism similar to font stacks with precisely defined fall-back scheme as used in typical CSS?
2) Can you provide some more info regarding XML type of connection? In my particular case I have to retrieve data from JSON objects of rather complex structure (lots of nesting and variable length of data arrays) before sending that data to ReportsFx, so it would be logical to use equivalent XML described with appropriate XSD. But, I'm a bit confused on how to use XML type of connection. I have found on this forum few topics regarding this issue (here and here) however it seems to me that simple XML structure is used to describe data rather than proper XSD. On the other hand, with demo package for RporstFx came two files (Demo.xsd and Demo.xml) which got me puzzled on what is appropriate way to use XML data sources.
Also, what is function of FlexAdapterXmlData in config file? If I figured out correctly, I should set FlexAdapterXmlData to false, and return my own data in functions declared in database_xml.php? In that case, what should be set in xsd path and xml path fields that are prompted when I try to make XML connection? And should I return proper XSD file on RetriveColumns request or am I limited to structure Vladimir described in post I've linked above?
Bug:
when ever I try to enter any text "Title" field in "Legend" part of Chart parameters, application crashes (most of data disappear in both designer and preview window, controls become unresponsive and I have to reload app.) This does not happen if Series is not set for Chart, how ever as soon as I set Series for chart app. crashes.
best regards
Uroš