Jump to content
JChartFX Community

Search the Community

Showing results for tags 'tooltip'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • jChartFX
    • General Questions
    • jQuery/jQuery UI
    • Styling and Aesthetics


There are no results to display.

Found 5 results

  1. Tooltip delay

    Hello, we are evaluating jchartfx for using in our main application as the primary chart system. We are interested in the jChartFX+ version. It looks good and we can do all our things with jchartfx but we can not find how we can reduce the delay for the tooltip. It takes about 2 seconds until the tooltip will be shown. How can we reduce the delay? This is a very important feature for us and if it is not possible to reduce the time jChartFX+ is out of the question for us.
  2. Hi, I am unable to get tooltips for graphs that are displayed over bootstrap modal window. I guess this is an issue of z-index, but I am not able to figure out, how to modify the z-index of tooltip! Below is all the necessary reference required: BOOTSTRAP MODAL WINDOW REFERENCE : http://getbootstrap.com/javascript/#modals HTML CODE for MODAL WINDOW <!-- Modal --> <div class="modal fade" id="productModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog modal-lg" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel"></h4> </div> <div class="modal-body"> <div id="graph-div" style="width: 870px;height: 450px;display:inline-block;background-color: white"> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div> JAVASCRIPT FUNCTION function loadModalChart(data,min,max) { var data=[{"CODE":"ABC","QTY":25},{"CODE":"BC","QTY":25},{"CODE":"AB","QTY":25},{"CODE":"AC","QTY":25}]; $('#graph-div').empty(); var chart1; chart1 = new cfx.Chart(); chart1.setDataSource(data); chart1.getAnimations().getLoad().setEnabled(true); //Enable Animation chart1.getData().setSeries(1); chart1.getAxisY().setMin(min); chart1.getAxisY().setMax(max); var series1 = chart1.getSeries().getItem(0); series1.setGallery(cfx.Gallery.Lines); var title = new cfx.TitleDockable(); title.setText("Sales Graph"); chart1.getTitles().add(title); chart1.getDataGrid().setVisible(true); chart1.getDataGrid().setDock(cfx.DockArea.Right); var divHolder = document.getElementById('graph-div'); chart1.create(divHolder); } Thanks in Advance.
  3. Good morning, I have an issue in that the tooltip stays visible when the chart itself is not visible anymore (after a swipe going to a different view) jchartfx is used on mobile device within the dojo framework. Is there a way to manually "hide" the tooltip of a chart? a method or something like this? our application is a bit more complex i guess so code pasting will not help
  4. We have a data set with multiple fields, where only one field is displayed in a pie chart, but all of them are displayed in the mouseover tooltip. Following samples from both http://community.jchartfx.com/topic/248-tooltip/ and http://community.jchartfx.com/topic/129-formatting-default-tooltip/, we created a content template for the tooltip. Everything shows up nicely, except the values in the tooltip, which display 'ABC' for Total Severity, Total Units, and Average Severity. Is the format for the content templates documented anywhere? What do we need to do to have this data displaying correctly? var data = [{'Group':'Automobile', 'Type':'Total Loss', 'Amount':6000.00, 'Units':4, 'Average':1500.00}, {'Group':'Automobile', 'Type':'Repairable', 'Amount':40500.00, 'Units':27, 'Average':1500.00}]; var chart = new cfx.Chart(); chart.setGallery(cfx.Gallery.Pie); chart.getGalleryAttributes().setExplodingMode(cfx.ExplodingMode.All); chart.getView3D().setEnabled(true); chart.getAxisY().getLabelsFormat().setFormat(cfx.AxisFormat.Currency); var fields = chart.getDataSourceSettings().getFields(); var field = new cfx.FieldMap(); field.setName('Group'); field.setUsage(cfx.FieldUsage.ColumnHeading); fields.add(field); field = new cfx.FieldMap(); field.setName('Type'); field.setUsage(cfx.FieldUsage.RowHeading); fields.add(field); field = new cfx.FieldMap(); field.setName('Amount'); field.setUsage(cfx.FieldUsage.Value); fields.add(field); var contentTemplate = '<DataTemplate>' + '<DockPanel Orientation="Vertical">' + '<DockPanel Orientation="Horizontal" Margin="3,0,3,0">' + '<TextBlock Text="{Binding Path=SeriesT}" Margin="0,0,4,0"/>' + '<TextBlock Text="{Binding Path=Value}" FontWeight="Bold" HorizontalAlignment="Right"/>' + '</DockPanel>' + '<DockPanel Orientation="Horizontal" Margin="3,0,3,0">' + '<TextBlock Text="Total Severity: " Margin="0,0,4,0"/>' + '<TextBlock Text="{Binding Path=DataAmount}" FontWeight="Bold" HorizontalAlignment="Right"/>' + '</DockPanel>' + '<DockPanel Orientation="Horizontal" Margin="3,0,3,0">' + '<TextBlock Text="Total Units: " Margin="0,0,4,0"/>' + '<TextBlock Text="{Binding Path=DataUnits}" FontWeight="Bold" HorizontalAlignment="Right"/>' + '</DockPanel>' + '<DockPanel Orientation="Horizontal" Margin="3,0,3,0">' + '<TextBlock Text="Average Severity: " Margin="0,0,4,0"/>' + '<TextBlock Text="{Binding Path=DataAverage}" FontWeight="Bold" HorizontalAlignment="Right"/>' + '</DockPanel>' + '</DockPanel>' + '</DataTemplate>'; chart.getToolTips().setContentTemplate(contentTemplate); var crosstab = new cfx.data.CrosstabDataProvider(); crosstab.setDataSource(data); chart.setDataSource(crosstab); chart.getAllSeries().getPointLabels().setVisible(true); chart.create('divYtdChart2'); We are using version7.2.5289.19355 and have tested on Internet Explorer and Chrome.
  5. The title pretty much says it all. On charts with 2 or more series' the tooltips work correctly as you'd expect. However on single-series charts hovering over points will not display the tooltip. Is there a way to change this? Thanks