Polymer Element wrapper for highcharts library. Seamlessly create various types of charts from one element.
Finally a Polymer 3.0 release.
If you're still on Polymer 1.0, or 2.0, you can use the branches polymer-1.0
or polymer-2.0
:
bower i highcharts-chart#polymer-2.0
Feel free to report any issues, since I have not been able to personally dedicate as much time to this library as of late as I used to.
A little late, but here it is! You can now simply install Highcharts the normal way, and the default target will not be polymer 2.0.
If you're still on Polymer 1.0, you can use the branch polymer-1.0
:
bower i highcharts-chart#polymer-1.0
Feel free to report an issues, since I have not been able to personally dedicate as much time to this library as of late as I used to.
highcharts-shared-styles
- The shared styles for all elements.plotOptions
and chartOptions
now work with the appropriate keys in configlegendPos
, legendValign
, etc.setData
updated to also accept a singular object that defines series 1getSeries
and zoomOut
as a functionhighcharts-chart
- Highcharts Chart elementhighcharts-map
- Highcharts Map elementhighcharts-stock
- Highcharts Stock element [for massive data sets]highcharts-behavior
- The base component that includes Highcharts and Polymer interop behavior.component
field which points to the Polymer element itselfhighcharts-options
now let's you append/override any part of the chartStock
and Map
pushData
adjusted_getSeries(z)
which will get series by index, else return a dummy object.otherOptions
as the last parameter--highcharts-chart-container
mixin now available for stylingclick
,load
,drills
,print
,etc...]xLabel
Addedlabel
functionality added as an overriderdrillability
/colorByPoint
/names
.Method | Parameters | Description |
---|---|---|
setData(data,z=0) |
Data Array ,Series Index |
Replaces series data with the passed array |
addData(x,y,z,drill) |
x ,y ,index ,drillable? |
Appends to data [efficient] |
pushData(x,y,z) |
x ,y ,index |
Shifts and adds to data [efficient] |
addSeries(name,data,colorByPoint) |
String ,Array ,boolean |
Shifts and adds to data [efficient] |
addDrillSeries(point,data,name) |
point ,Array ,String |
Shifts and adds to data [efficient] |
updateSeries(options,z=0) |
{} ,0 |
Modifies the options for series [given by z ] |
showLoading(t) |
t [Text] |
Sets Loading-Message equal to t then turns on loading screen |
resizeChart() |
none |
Adjust graph to the size of the parent |
destroy() |
none |
Free's up the memory used by the chart [prevents memory leaks] |
This release is still in BETA.
highcharts-pie
, highcharts-spline
]This release is still in BETA.
highcharts-pie
, highcharts-spline
]