All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jwebmp.plugins.jqxwidgets.chart.JQXChart Maven / Gradle / Ivy

There is a newer version: 1.0.16.0-jre14
Show newest version
/*
 * Copyright (C) 2017 GedMarc
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */
package com.jwebmp.plugins.jqxwidgets.chart;

import com.jwebmp.core.base.html.Div;
import com.jwebmp.core.plugins.ComponentInformation;

/**
 * jqxChart is a lightweight and powerful chart widget written 100% in javascript. It offers many advanced features and supports three different rendering technologies - SVG, HTML5
 * Canvas and VML.
 * 

* You can use jqxChart to add interactive charts to your website, build custom dashboards, or use it in your mobile applications. *

* jqxChart offers excellent cross-browser compatibility and works well with both desktop and mobile browsers. jqxChart is being used by thousands of individual developers, small * companies as well as * a significant percentage of the Furtune 100 companies. *

* Basic concepts Before you start using jqxChart you need to learn how it works and some basic concepts. Depending on which features you use, your chart may contain the following * elements: *

* horizontal axis (xAxis) vertical axis (valueAxis) title and description one or more series groups and series grid lines and tick marks legend border line background tooltips * annotations range * selector *

*

* Some simple charts may not have all of these elements, while complicated charts could be highly customized and even include additional elements added through custom drawing. *

* * @author GedMarc * @version 1.0 * @since 29 Aug 2015 */ @ComponentInformation(name = "JQX Chart", description = "jqxChart is a lightweight and powerful chart widget written 100% in javascript. ", url = "http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxchart/jquery-chart-getting-started.htm?search=", wikiUrl = "https://github.com/GedMarc/JWebMP-JQXWidgetsPlugin/wiki") public class JQXChart extends Div { private JQXChartFeature feature; public JQXChart() { addFeature(getFeature()); } public JQXChartFeature getFeature() { if (feature == null) { feature = new JQXChartFeature(this); } return feature; } @Override public JQXChartOptions getOptions() { return getFeature().getOptions(); } @Override public int hashCode() { int result = super.hashCode(); result = 31 * result + getFeature().hashCode(); return result; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof JQXChart)) { return false; } if (!super.equals(o)) { return false; } JQXChart jqxChart = (JQXChart) o; return getFeature().equals(jqxChart.getFeature()); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy