start(100)->end(250); $tooltip=new EJ\RangeNavigator\TooltipSetting(); $tooltip->tooltipDisplayMode("ondemand")->visible(true); echo $rangenavigator->load("rangeload")->isResponsive(true)->rangeChanged("onchartloaded")->valueType("numeric")->selectedRangeSettings($selectedRangeSettings)->tooltipSettings($tooltip)->render(); $chart=new EJ\Chart("chart1"); $series=new EJ\Chart\Series(); $seriesarray=array(); $seriesarray[0]=$series->type("line")->name("Product X"); $seriesarray[1]=$series->type("line")->name("Product Y"); $crosshair=new EJ\Chart\Crosshair(); $line = new EJ\Chart\Line(); $line->color("transparent"); $crosshair->visible(true)->type("trackball")->line($line); $yaxis=new EJ\Chart\PrimaryYAxis(); $yaxis->labelFormat("\${value}"); echo $chart->isResponsive(true)->load("chartload")->crosshair($crosshair)->primaryYAxis($yaxis)->series($seriesarray)->create("chartloaded")->render(); ?>