Sign in to follow this  
hristo

Schema (XSD) files for the charts?

Recommended Posts

We purchased the v3 of the FC and we are pleased with the way the charts look!

 

However, apparently the FC team did not provide XSD (XML Schema files) to describe the chart types. This is a big omission! it prevents code-generators such as JAXB, XmlBeans and Castor to generate code wrapper for the charts, thus making chart data generation very painful.

 

 

 

I saw a few users trying to publish hand-crafted schema files, but this is not what one would expect for paid-for product!

 

Please, realize this is a very important feature and provide adequate XSD support. Thanks you!

Share this post


Link to post
Share on other sites

Hi,

 

 

 

Thanks for your suggestion. We'll definitely provide a way to generate XSDs in next version of FusionCharts.

Share this post


Link to post
Share on other sites

Hi,

 

 

 

I just started working with Fusion Charts. I must say it is a wonderful product. Kudos for the good work.

 

 

 

 

 

In relation to my work, i downloaded the XSL files attached with this topic. The way i envision my system to work is creating Chart Data Java Classes out of these XSL using Castor and then setting Chart Data values on my server side into those Chart Data Java Classes and creating the ChartData.xml using Castor again.

 

 

 

In relation to this, i was trying to create the Java Chart Data Classes for Radar.xsl , but am getting 'error reading XML Schema file' . I am using a simple Castor SourceGeneratorClass.

 

 

 

 

import org.xml.sax.InputSource;

 

 

 

 

 

import org.exolab.castor.builder.SourceGenerator;

 

 

 

 

 

/**

 

*

 

* @author Dhiraj Ramakrishnan

 

*/

 

public class RadarChartSourceGenerator {

 

 

 

private final static String SCHEMA_DIR_PATH = "schema//fusioncharts//powercharts//";

 

 

 

 

 

public static void main (String args[]) {

 

generateSource();

 

}

 

 

 

public static void generateSource() {

 

try {

 

SourceGenerator generator = new SourceGenerator();

 

InputSource source = new InputSource(SCHEMA_DIR_PATH+"RadarChart.xsd");

 

generator.generateSource(source, "curam.fusionchart.chart.radarchart.data");

 

} catch (Exception e) {

 

System.out.println(e);

 

}

 

}

 

}

 

 

 

 

It is not throwing any exception, am just wondering if anybody else got the same problem ?

 

 

 

Thanks,

 

 

 

Dhiraj

Share this post


Link to post
Share on other sites

Hi Dhiraj

In relation to this, i was trying to create the Java Chart Data Classes for Radar.xsl , but am getting 'error reading XML Schema file' .

Can you specify when you are getting the error?

What is the exact error you are getting?

Thanks

Srividya

Share this post


Link to post
Share on other sites
Guest Angie

Dear User,

 

We are delighted to announce that PowerCharts is now ready for your iPads and iPhones too. We have just released PowerCharts v3.2. Starting v3.2, PowerCharts has HighCharts embedded within it, and offers both Flash and JavaScript (HTML5) charting . The Flash charts are displayed on a majority of devices and the JavaScript charts on devices that do not support Flash, all of it without writing a line of code.

 

Automatic rendering of JavaScript charts on devices (like iPad and iPhone) where Flash player is not supported.

 

5 new chart types:

 

Heat Map Chart

 

Box and Whisker Chart

 

Step Line Chart

 

Error Line Chart

 

Error Scatter Chart

 

 

* Support for JSON data format.

 

* Support for LinkedCharts, where a single data source controls multiple charts.

 

* Interactive legends in charts allow selective showing/hiding of data series.

 

* Legends now support icons for each data series.

 

* Better management of labels on charts.

 

* Labels now have an auto rendering mode to prevent them from overlapping, the chart selects the best display mode depending on the length of the labels and the width of the chart.

 

* Long labels are truncated, with ellipses appended to the truncated end of each label, and a tooltip bearing the completed label text is displayed when the user hovers over a truncated label.

 

* Support for line breaks and wrapping in all text elements including: caption, sub caption, X-axis title, Y-axis title, Labels and tooltips.

 

* In Line charts, data values can now be positioned either above or below the dataplots. Automatic positioning of data values is also supported.

 

* In Step-line charts dataplots can be joined using vertical lines.

 

* Custom alignment of caption and sub caption using STYLES.

 

* Advanced print management using JavaScript.

 

* Additional options for efficient event handling using JavaScript.

 

* Support for dynamic update of chart properties using JavaScript(barring select scatter and drag charts).

 

* Charts now support % based sizes along with dynamic resizing (barring select scatter and drag charts).

 

 

Learn more about everything new in PowerCharts v3.2 at : http:/ www.fusioncharts.com/PowerCharts/

 

We would love to hear from you at: http://www.fusioncharts.com/contact/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this