We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
just in case to add tooltip method in ChartPresenter file ...vendor\muhamadrezaar\highcharts\src\Classes\Presenters add
public $tooltip; public function tooltip($tooltip=[]) { $this->transform->tooltip=$tooltip; return $this; }
in JsTransformerPresenter file ...\vendor\muhamadrezaar\highcharts\src\Classes\Presenters add
public $tooltip=[]; public function encode_tooltip() { $data = $this->tooltip; $this->tooltip = !empty($data) ? 'tooltip: '.json_encode($data).',' : null; return $this; }
edit this method
public function transform() { ... $this->encode_tooltip(); //add this line $this->credits();
and add to $allString
$allString = $this->title. $this->tooltip.
in your controller
->tooltip([ 'formatter'=> "startJs:function(){return '' + this.x + '' + this.series.name + ' ' + 'Valor:'+this.y + '' + 'Total: ' + this.point.stackTotal }:endJs", ])
The text was updated successfully, but these errors were encountered:
How to show percentage value in tooltip ?
Sorry, something went wrong.
No branches or pull requests
just in case to add tooltip method
in ChartPresenter file ...vendor\muhamadrezaar\highcharts\src\Classes\Presenters
add
in JsTransformerPresenter file
...\vendor\muhamadrezaar\highcharts\src\Classes\Presenters
add
edit this method
and add to $allString
in your controller
The text was updated successfully, but these errors were encountered: