javascript - jQchart multiple information with title of the graph -


I'm using jQchart to display a graph. However, the property of the title only appears to display a line of text. The graph currently displays the following title:

  text: chartTypeText + ':' + chart title + "," + $ ('# Base line reassessial location location option: selected'). Text () + ',' + $ ("#Baselline reassessal location location option: selected"). Val () + '' + $ ('# Baseline Reassign Standard Standard Option: Selected'). Text () + '' BaselinePerified + 'Year'  

However, I need to basically display each variable on a separate line (hopefully using line breaks each piece To separate information). I tried to use "" but it shows the string literally

Is there any way that I can display each variable in different fonts, under the heading of the graph?

If you are looking for series title optimization, then this is the tooltipFormat event Can be customized with.
[Use some separator (I ; separator) and format with html, CSS]

In the statement below I changed the separator to ;

text: chartTypeText + ':' + ChartTitle + ";" + $ ('# BaselineResidentialLocationCity option: selected') Text () ',' + $ ("# baseelineResidentialLocationState option: selected") + VAL () + ',' ... + $ ('# BaselineResidentialStandardYear option: selected'). Text () + '' + baseelinePeriod + 'year'

  & lt; Script lang = "javascript" type = "text / javascript" & gt; . $ (Function () {$ ('# ChartClientID') Tie ('tooltipFormat', function (e, data) {var t = data.series.title.split (","); // or you dynamically <++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>  

> See this link for reference:


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -