Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 103 | All time: 9,767 This week: 455 |
Version | License | PHP version | Categories | |||
laravelhighcharts 1.0.1 | The PHP License | 5 | PHP 5, Graphics, Web services |
Description | Author | |
This package can display charts using the Highcharts API. |
Chart Graphic Library
I'm looking for a chart library with commercial use license.
<a href="https://styleci.io/repos/69124179"><img src="https://img.shields.io/badge/Built_for-Laravel-orange.svg" alt="Build For Laravel"></a>
Chart service for Highcharts on Laravel 5
Run in console below command to download package to your project:
composer require energieproduction/chart
In /config/app.php
add ChartServiceProvider:
EnergieProduction\Chart\ChartServiceProvider::class,
Do not forget to use the scripts from Highcharts on the pages that contains a chart
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
In progress...
$chart = app('chart');
$chart->pushSubset('title', function($title){
$title->pushCriteria(new Criterias\Text('Solar Employment Growth by Sector, 2010-2016'));
});
$chart->pushSubset('subtitle', function($subtitle){
$subtitle->pushCriteria(new Criterias\Text('Source: thesolarfoundation.com'));
});
$chart->pushSubset('yAxis.title', function($title){
$title->pushCriteria(new Criterias\Text('Number of Employees'));
});
$chart->pushSubset('legend', function($legend){
$legend->pushCriteria(new Criterias\Layout('vertical'));
$legend->pushCriteria(new Criterias\Align('right'));
$legend->pushCriteria(new Criterias\VerticalAlign('middle'));
});
$chart->pushSubset('plotOptions.series', function($plotOptions){
$plotOptions->pushCriteria(new Criterias\PointStart(2010));
});
$chart->pushSubset('series', function($series){
$series->pushCriteria(new Criterias\Name('Installation'));
$series->pushCriteria(new Criterias\Data([43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175]));
});
$chartSolarEmployment = $chart->render();
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id='chart'></div>
<script type="text/javascript">
$(function () {
$('chart').highcharts({{$chartSolarEmployment}});
});
</script>
Files (415) |
File | Role | Description | ||
---|---|---|---|---|
src (3 files, 4 directories) | ||||
tests (2 files) | ||||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (415) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Contracts (3 files) | ||||
Criterias (398 files) | ||||
Exceptions (1 file) | ||||
Renderable (4 files) | ||||
Chart.php | Class | Class source | ||
ChartServiceProvider.php | Class | Class source | ||
Option.php | Class | Class source |
Files (415) | / | src | / | Contracts |
File | Role | Description |
---|---|---|
Criteria.php | Class | Class source |
Expression.php | Class | Class source |
Renderable.php | Class | Class source |
Files (415) | / | src | / | Criterias |
File | Role | Description |
---|---|---|
ActiveAxisLabelStyle.php | Class | Class source |
ActiveColor.php | Class | Class source |
ActiveDataLabelStyle.php | Class | Class source |
AddSeries.php | Class | Class source |
AfterAnimate.php | Class | Class source |
AfterBreaks.php | Class | Class source |
AfterPrint.php | Class | Class source |
AfterSetExtremes.php | Class | Class source |
Align.php | Class | Class source |
AlignTicks.php | Class | Class source |
AllowDecimals.php | Class | Class source |
AllowDrillToNode.php | Class | Class source |
AllowHTML.php | Class | Class source |
AllowOverlap.php | Class | Class source |
AllowPointDrilldown.php | Class | Class source |
AllowPointSelect.php | Class | Class source |
Alpha.php | Class | Class source |
AlternateGridColor.php | Class | Class source |
AlternateStartingDirection.php | Class | Class source |
Angle.php | Class | Class source |
Animation.php | Class | Class source |
AnimationLimit.php | Class | Class source |
ArrowSize.php | Class | Class source |
Attr.php | Class | Class source |
Attributes.php | Class | Class source |
AutoRotation.php | Class | Class source |
AutoRotationLimit.php | Class | Class source |
AxisLabelPosition.php | Class | Class source |
BackgroundColor.php | Class | Class source |
BaseLength.php | Class | Class source |
BaseWidth.php | Class | Class source |
BeforePrint.php | Class | Class source |
Beta.php | Class | Class source |
BorderColor.php | Class | Class source |
BorderDashStyle.php | Class | Class source |
BorderRadius.php | Class | Class source |
BorderWidth.php | Class | Class source |
BreakSize.php | Class | Class source |
Brightness.php | Class | Class source |
Builder.php | Class | Class source |
Callback.php | Class | Class source |
Categories.php | Class | Class source |
Ceiling.php | Class | Class source |
Center.php | Class | Class source |
Chart.php | Class | Class source |
ChartOptions.php | Class | Class source |
CheckboxClick.php | Class | Class source |
ClassName.php | Class | Class source |
Click.php | Class | Class source |
Color.php | Class | Class source |
ColorByPoint.php | Class | Class source |
ColorCount.php | Class | Class source |
ColorIndex.php | Class | Class source |
Colors.php | Class | Class source |
Colsize.php | Class | Class source |
Columns.php | Class | Class source |
Complete.php | Class | Class source |
ConnectEnds.php | Class | Class source |
ConnectNulls.php | Class | Class source |
ConnectorColor.php | Class | Class source |
ConnectorPadding.php | Class | Class source |
ConnectorWidth.php | Class | Class source |
Crisp.php | Class | Class source |
Criteria.php | Class | Class source |
Crop.php | Class | Class source |
CropThreshold.php | Class | Class source |
Crosshairs.php | Class | Class source |
Csv.php | Class | Class source |
Cursor.php | Class | Class source |
DashStyle.php | Class | Class source |
Data.php | Class | Class source |
DataLabels.php | Class | Class source |
DataParser.php | Class | Class source |
DataURL.php | Class | Class source |
DateFormat.php | Class | Class source |
DateTimeLabelFormats.php | Class | Class source |
DecimalPoint.php | Class | Class source |
DefaultSeriesType.php | Class | Class source |
Defer.php | Class | Class source |
Depth.php | Class | Class source |
DescribeSingleSeries.php | Class | Class source |
Description.php | Class | Class source |
DisplayNegative.php | Class | Class source |
Distance.php | Class | Class source |
Drilldown.php | Class | Class source |
Drillup.php | Class | Class source |
Drillupall.php | Class | Class source |
EdgeColor.php | Class | Class source |
EdgeWidth.php | Class | Class source |
Enabled.php | Class | Class source |
EnableMouseTracking.php | Class | Class source |
EndAngle.php | Class | Class source |
EndColumn.php | Class | Class source |
EndOnTick.php | Class | Class source |
EndRow.php | Class | Class source |
Error.php | Class | Class source |
Events.php | Class | Class source |
ExposeElementToA11y.php | Class | Class source |
FallbackToExportServer.php | Class | Class source |
Filename.php | Class | Class source |
FillColor.php | Class | Class source |
FillOpacity.php | Class | Class source |
FindNearestPointBy.php | Class | Class source |
FirstRowAsNames.php | Class | Class source |
FitToPlot.php | Class | Class source |
Floating.php | Class | Class source |
Floor.php | Class | Class source |
FollowPointer.php | Class | Class source |
FollowTouchMove.php | Class | Class source |
FooterFormat.php | Class | Class source |
Format.php | Class | Class source |
Formatter.php | Class | Class source |
FormAttributes.php | Class | Class source |
From.php | Class | Class source |
GetExtremesFromAll.php | Class | Class source |
GoogleSpreadsheetKey.php | Class | Class source |
GoogleSpreadsheetWorksheet.php | Class | Class source |
GridLineColor.php | Class | Class source |
GridLineDashStyle.php | Class | Class source |
GridLineInterpolation.php | Class | Class source |
GridLineWidth.php | Class | Class source |
GridZIndex.php | Class | Class source |
Grouping.php | Class | Class source |
GroupPadding.php | Class | Class source |
GroupZPadding.php | Class | Class source |
HeaderFormat.php | Class | Class source |
Height.php | Class | Class source |
Hide.php | Class | Class source |
HideDelay.php | Class | Class source |
HideDuration.php | Class | Class source |
Href.php | Class | Class source |
Html.php | Class | Class source |
Id.php | Class | Class source |
IgnoreHiddenPoint.php | Class | Class source |
IgnoreHiddenSeries.php | Class | Class source |
InactiveColor.php | Class | Class source |
Index.php | Class | Class source |
InnerRadius.php | Class | Class source |
InnerSize.php | Class | Class source |
Inside.php | Class | Class source |
InteractByLeaf.php | Class | Class source |
Inverted.php | Class | Class source |
ItemDelimiter.php | Class | Class source |
ItemDistance.php | Class | Class source |
ItemHiddenStyle.php | Class | Class source |
ItemHoverStyle.php | Class | Class source |
ItemMarginBottom.php | Class | Class source |
ItemMarginTop.php | Class | Class source |
ItemStyle.php | Class | Class source |
ItemWidth.php | Class | Class source |
Keys.php | Class | Class source |
LabelFormat.php | Class | Class source |
LabelFormatter.php | Class | Class source |
LabelStyle.php | Class | Class source |
Layout.php | Class | Class source |
LayoutAlgorithm.php | Class | Class source |
LayoutStartingDirection.php | Class | Class source |
LegendIndex.php | Class | Class source |
LegendItemClick.php | Class | Class source |
Level.php | Class | Class source |
LevelIsConstant.php | Class | Class source |
LibURL.php | Class | Class source |
Linecap.php | Class | Class source |
LineColor.php | Class | Class source |
LineDelimiter.php | Class | Class source |
LineHeight.php | Class | Class source |
LineWidth.php | Class | Class source |
LineWidthPlus.php | Class | Class source |
LinkedTo.php | Class | Class source |
Load.php | Class | Class source |
Margin.php | Class | Class source |
MarginBottom.php | Class | Class source |
MarginLeft.php | Class | Class source |
MarginRight.php | Class | Class source |
MarginTop.php | Class | Class source |
Max.php | Class | Class source |
MaxColor.php | Class | Class source |
MaxHeight.php | Class | Class source |
MaxPadding.php | Class | Class source |
MaxPointWidth.php | Class | Class source |
MaxSize.php | Class | Class source |
MaxWidth.php | Class | Class source |
MaxZoom.php | Class | Class source |
MedianColor.php | Class | Class source |
MedianWidth.php | Class | Class source |
MenuItemDefinitions.php | Class | Class source |
MenuItemHoverStyle.php | Class | Class source |
MenuItems.php | Class | Class source |
MenuItemStyle.php | Class | Class source |
MenuStyle.php | Class | Class source |
Min.php | Class | Class source |
MinColor.php | Class | Class source |
MinHeight.php | Class | Class source |
MinorGridLineColor.php | Class | Class source |
MinorGridLineDashStyle.php | Class | Class source |
MinorGridLineWidth.php | Class | Class source |
MinorTickColor.php | Class | Class source |
MinorTickInterval.php | Class | Class source |
MinorTickLength.php | Class | Class source |
MinorTickPosition.php | Class | Class source |
MinorTickWidth.php | Class | Class source |
MinPadding.php | Class | Class source |
MinPointLength.php | Class | Class source |
MinRange.php | Class | Class source |
MinSize.php | Class | Class source |
MinTickInterval.php | Class | Class source |
MinWidth.php | Class | Class source |
MouseOut.php | Class | Class source |
MouseOver.php | Class | Class source |
Name.php | Class | Class source |
NeckHeight.php | Class | Class source |
NeckWidth.php | Class | Class source |
NegativeColor.php | Class | Class source |
NegativeFillColor.php | Class | Class source |
Offset.php | Class | Class source |
Onclick.php | Class | Class source |
OnTableAnchorClick.php | Class | Class source |
Opacity.php | Class | Class source |
Opposite.php | Class | Class source |
OuterRadius.php | Class | Class source |
Overflow.php | Class | Class source |
Overshoot.php | Class | Class source |
Padding.php | Class | Class source |
PanKey.php | Class | Class source |
Panning.php | Class | Class source |
Parsed.php | Class | Class source |
ParseDate.php | Class | Class source |
PinchType.php | Class | Class source |
PlotBackgroundColor.php | Class | Class source |
PlotBackgroundImage.php | Class | Class source |
PlotBorderColor.php | Class | Class source |
PlotBorderWidth.php | Class | Class source |
PlotShadow.php | Class | Class source |
PointBreak.php | Class | Class source |
PointDateFormat.php | Class | Class source |
PointDateFormatter.php | Class | Class source |
PointDescriptionFormatter.php | Class | Class source |
PointDescriptionThreshold.php | Class | Class source |
PointFormat.php | Class | Class source |
PointFormatter.php | Class | Class source |
PointInBreak.php | Class | Class source |
PointInterval.php | Class | Class source |
PointIntervalUnit.php | Class | Class source |
PointPadding.php | Class | Class source |
PointPlacement.php | Class | Class source |
PointRange.php | Class | Class source |
PointStart.php | Class | Class source |
PointWidth.php | Class | Class source |
Polar.php | Class | Class source |
Position.php | Class | Class source |
Positioner.php | Class | Class source |
PrintMaxWidth.php | Class | Class source |
Radius.php | Class | Class source |
RadiusPlus.php | Class | Class source |
RearLength.php | Class | Class source |
Redraw.php | Class | Class source |
Reflow.php | Class | Class source |
RelativeTo.php | Class | Class source |
Remove.php | Class | Class source |
Render.php | Class | Class source |
RenderTo.php | Class | Class source |
Repeat.php | Class | Class source |
ReserveSpace.php | Class | Class source |
Reversed.php | Class | Class source |
ReversedStacks.php | Class | Class source |
Rotation.php | Class | Class source |
Rounded.php | Class | Class source |
Rows.php | Class | Class source |
Rowsize.php | Class | Class source |
Rtl.php | Class | Class source |
Scale.php | Class | Class source |
ScreenReaderSectionFormatter.php | Class | Class source |
Select.php | Class | Class source |
Selected.php | Class | Class source |
Selection.php | Class | Class source |
SelectionMarkerFill.php | Class | Class source |
Series.php | Class | Class source |
SeriesDescriptionFormatter.php | Class | Class source |
SeriesMapping.php | Class | Class source |
SetExtremes.php | Class | Class source |
Shadow.php | Class | Class source |
Shape.php | Class | Class source |
Shared.php | Class | Class source |
Show.php | Class | Class source |
ShowAxes.php | Class | Class source |
ShowCheckbox.php | Class | Class source |
ShowDuration.php | Class | Class source |
ShowEmpty.php | Class | Class source |
ShowFirstLabel.php | Class | Class source |
ShowInLegend.php | Class | Class source |
ShowLastLabel.php | Class | Class source |
Size.php | Class | Class source |
SizeBy.php | Class | Class source |
SizeByAbsoluteValue.php | Class | Class source |
SkipKeyboardNavigation.php | Class | Class source |
SkipNullPoints.php | Class | Class source |
SlicedOffset.php | Class | Class source |
Snap.php | Class | Class source |
SoftConnector.php | Class | Class source |
SoftMax.php | Class | Class source |
SoftMin.php | Class | Class source |
SoftThreshold.php | Class | Class source |
SortIndex.php | Class | Class source |
SourceHeight.php | Class | Class source |
SourceWidth.php | Class | Class source |
Spacing.php | Class | Class source |
SpacingBottom.php | Class | Class source |
SpacingLeft.php | Class | Class source |
SpacingRight.php | Class | Class source |
SpacingTop.php | Class | Class source |
Split.php | Class | Class source |
SquareSymbol.php | Class | Class source |
Stack.php | Class | Class source |
Stacking.php | Class | Class source |
StaggerLines.php | Class | Class source |
StartAngle.php | Class | Class source |
StartColumn.php | Class | Class source |
StartOfWeek.php | Class | Class source |
StartOnTick.php | Class | Class source |
StartRow.php | Class | Class source |
States.php | Class | Class source |
StemColor.php | Class | Class source |
StemDashStyle.php | Class | Class source |
StemWidth.php | Class | Class source |
Step.php | Class | Class source |
StickyTracking.php | Class | Class source |
Stops.php | Class | Class source |
Style.php | Class | Class source |
SwitchRowsAndColumns.php | Class | Class source |
Symbol.php | Class | Class source |
SymbolFill.php | Class | Class source |
SymbolHeight.php | Class | Class source |
SymbolPadding.php | Class | Class source |
SymbolRadius.php | Class | Class source |
SymbolSize.php | Class | Class source |
SymbolStroke.php | Class | Class source |
SymbolStrokeWidth.php | Class | Class source |
SymbolWidth.php | Class | Class source |
SymbolX.php | Class | Class source |
SymbolY.php | Class | Class source |
Table.php | Class | Class source |
TabThroughPoints.php | Class | Class source |
Text.php | Class | Class source |
TextAlign.php | Class | Class source |
Theme.php | Class | Class source |
Thickness.php | Class | Class source |
Threshold.php | Class | Class source |
TickAmount.php | Class | Class source |
TickColor.php | Class | Class source |
TickInterval.php | Class | Class source |
TickLength.php | Class | Class source |
TickmarkPlacement.php | Class | Class source |
TickPixelInterval.php | Class | Class source |
TickPosition.php | Class | Class source |
TickPositioner.php | Class | Class source |
TickPositions.php | Class | Class source |
TickWidth.php | Class | Class source |
To.php | Class | Class source |
TopWidth.php | Class | Class source |
TrackByArea.php | Class | Class source |
TurboThreshold.php | Class | Class source |
Type.php | Class | Class source |
TypeDescription.php | Class | Class source |
UniqueNames.php | Class | Class source |
Units.php | Class | Class source |
Unselect.php | Class | Class source |
UpColor.php | Class | Class source |
Update.php | Class | Class source |
Url.php | Class | Class source |
UseHTML.php | Class | Class source |
Value.php | Class | Class source |
ValueDecimals.php | Class | Class source |
ValuePrefix.php | Class | Class source |
ValueSuffix.php | Class | Class source |
VerticalAlign.php | Class | Class source |
ViewDistance.php | Class | Class source |
Visible.php | Class | Class source |
WhiskerColor.php | Class | Class source |
WhiskerLength.php | Class | Class source |
WhiskerWidth.php | Class | Class source |
Width.php | Class | Class source |
WidthAdjust.php | Class | Class source |
Wrap.php | Class | Class source |
X.php | Class | Class source |
XAxis.php | Class | Class source |
XDateFormat.php | Class | Class source |
XHigh.php | Class | Class source |
XLow.php | Class | Class source |
Y.php | Class | Class source |
YAxis.php | Class | Class source |
YHigh.php | Class | Class source |
YLow.php | Class | Class source |
ZIndex.php | Class | Class source |
ZMax.php | Class | Class source |
ZMin.php | Class | Class source |
ZoneAxis.php | Class | Class source |
ZoomType.php | Class | Class source |
ZThreshold.php | Class | Class source |
Files (415) | / | src | / | Exceptions |
File | Role | Description |
---|---|---|
DotNotationNotAvailableException.php | Class | Class source |
Files (415) | / | src | / | Renderable |
File | Role | Description |
---|---|---|
Criteria.php | Class | Class source |
Expression.php | Class | Class source |
Render.php | Class | Class source |
Subset.php | Class | Class source |
Files (415) | / | tests |
File | Role | Description |
---|---|---|
Test.php | Class | Class source |
TestRenderable.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.