score:0
The following code can be added after you have queried your database and you would like to post different graphs to the same view, I was using the code to plot a barchart and line chart on the same graph as specified below........ look at the dataset position 2 its line and bar
$chart = new unclaimed;
$chart->labels( $days );
$chart->dataset('Daily Visitors Bar', 'bar', $totalNumber )->color('white')->backgroundColor(['#009900','#8a8a5c','#f1c40f','#e67e22','#16a085','#2980b9']);
$chart->dataset('Daily Visitors Line', 'line', $totalNumber )->color('black') ->fill(false)->backgroundColor(['##8a8a5c','009900','#f1c40f','#e67e22','#16a085','#2980b9']);
Source: stackoverflow.com
Related Query
- Laravel 5.5 Console TV Bar Chart High Charts multipleDatasets and label
- How to combine Bar chart and data as table in High Charts
- High charts bar chart label overlaps with the graph when labels are long
- High charts - Increasing the space between chart and title
- High Charts - Split color of bar chart
- High Charts Column Chart - Y axis Label Formatting
- Switch between pie charts and bar chart in highcharts
- x axis label word wrap in high charts for radar chart
- Bar chart data label and bar custom css with bar background,Highchart
- Highchart bar chart: X-Axis label is cut off even when there is space between chart and label
- High charts Issue with stock bar chart multiple line series
- React / High chart / Stacked bar label for each block
- High Charts PieChart How Can I show point value inside segment and label name outside
- Can color of data label be different inside and outside of the bar in Highchart
- In high chart how to add event for label click
- knockoutJS dynamic chart with high charts
- High and low line on candlestick chart
- How do I reduce the space between title and chart of a High Chart?
- Highcharts - Bar - Setting the X axis width and the chart area width to be constant
- How to set the x value for High Charts error bar
- Simple bar chart in jQuery HighCharts and MVC 2 application?
- High chart - Column Range Chart with Time range. How to get tooltip as Start and End time
- How to use add series and update methods in the high chart wrapper for angular?
- Resize High Charts based on grid layout width and height using react
- High charts queue chart updates after ajax with multiple charts in firefox
- Centering a data label in Highcharts Bar Chart
- Click event on bar high charts in angular 2
- Highcharts bar chart with fixed bar widths and gaps
- Why is the first label on highcharts bar chart missing?
- Converting high chart to image and send to server using ajax call
More Query from same tag
- HighCharts Hide specific context Menu items
- Combine two arrays in js or have highcharts working with other data format
- Highstock - Soft Min and Max is not working
- highcharts single line with arrow arrow
- Highstocks - Display year when hovering over a point
- Format tooltip in highchart map for dynamic variables, some with commas and others with percents
- Cannot set Individual Point color in Series for Highstock API, it works for Highchart API
- Show labels per serie in Highstock.js as in Highcharts.js
- Scope not updating UI inside the success function of http.get
- High charts undefined value on customizing tool tip - Unable to get the ID from array
- Highcharts parse CSV
- Highcharts Rendering Issues in all broswers
- High chart - localization of numbers
- Lines are not united Highcharts
- How to display HighCharts with tables
- Highcharts errorbar with corsshairs
- How to convert a highcharts Pie chart to HTML/Table on drilldown
- Custom Label Show Percentage on Highcharts
- Highcharts - Cross browser charts have different Y axis ranges, how can I ensure consistency?
- Highcharts - margins update on window resize
- Adding highchart organization in reactjs
- No graph displayed using Highcharts
- Highcharts Highmaps display tooltip of bubbles under datalabels
- Change plotBands options after chart creation
- HighCharts Axes Alignment
- How to remove empty axis ticks in Highcharts?
- Using image tag as series name in highcharts
- Highcharts / Highmaps drilldown on init
- In highcharts how can I provide data with values x, y, title so that I can put the title in the tooltip?
- ColorAxis with HighChart not working as expected with different set of library