Table of Contents
java -jar start.jarNote:
< %-- Document : fusioncharts jsp file Author : fusioncharts --%> < %@page contentType="text/html" pageEncoding="UTF-8"%> < !DOCTYPE html> <html> <head> <title>Loading Data from a Static JSON String - fusioncharts.com</title> <!-- Step 1: Include the `fusioncharts.js` file. This file is needed to render the chart. Ensure that the path to this JS file is correct. Otherwise, it may lead to JavaScript errors. --> <script src="fusioncharts.js"></script> <script src="fusioncharts.theme.fint.js"></script> </head> <body> <div id="chart"></div> <!-- Step 2: Include the `FusionCharts.java` file as a package in your project. --> < %@page import="fusioncharts.FusionCharts" %> <!-- Step 3:Include the package in the file where you want to show FusionCharts as follows. Step 4: Create a chart object using the FusionCharts JAVA class constructor. Syntax for the constructor: `FusionCharts("type of chart", "unique chart id", "width of chart", "height of chart", "div id to render the chart", "data format", "data source")` --> < % FusionCharts column2dChart = new FusionCharts( "Column2D",// chartType "myFirstChart",// chartId "600","400",// chartWidth, chartHeight "chart",// chartContainer "json",// dataFormat "{\"chart\": {\"caption\": \"Harry\'s SuperMart - Top 5 Stores' Revenue\", \"subCaption\": \"Last Year\", \"numberPrefix\": \"$\", \"rotatevalues\": \"0\", \"plotToolText\": \"<div><b>$label</b><br />Sales : <b>$$value</b>\", \"theme\": \"fint\"}, \"data\": [{\"label\": \"Bakersfield Central\", \"value\": \"880000\"}, {\"label\": \"Garden Groove harbour\", \"value\": \"730000\"}, {\"label\": \"Los Angeles Topanga\", \"value\": \"590000\"}, {\"label\": \"Compton-Rancho Dom\", \"value\": \"520000\"}, {\"label\": \"Daly City Serramonte\", \"value\": \"330000\"}] }" ); %> <!-- Step 5: Render the chart --> < %=column2dChart.render()%> </body> </html>
We’re excited to announce the upcoming release of FusionCharts v4.1—a groundbreaking step forward in the…
Have you ever been overwhelmed by a massive data set and wondered, "How do I…
If you’ve ever tried to make sense of the stock market, you’ve probably come across…
Imagine you’re comparing the sales performance of your top product lines across different regions, or…
Have you ever spent hours buried in documentation, hunting for a specific piece of code?…
Do you feel like your data is a cryptic puzzle, locked away from revealing its…
View Comments
Hello, all is going nicely here and ofcourse every one is sharing data, that's genuinely excellent, keep up writing.