Version 6.2.2

Versions

New Features:

  • A new property for vAxis, “hidePriceMarker” to hide the price real-time line and price-box.
  • A new field strLabelBKColor for HLine to enable masking overlapping line labels.

Version 6.2.1

Versions

Updates:

  • API EnableFillDataGaps to enable and disable historical and real-time data gaps completion.
    Now it is possible to enable and disable this feature on the fly.
  • Dates can now be a long EPOCH (Unix DateTime).
    The long date value is valid anywhere, as candles dates and in methods / properties, which use dates.
    This can enhance performance both on server side and client side.
    Previous format “YYYY-MM-DD HH:mm:ss” is still supported.

New Features:

  • Create any indicator on any panel and move indicators between panels.
  • Volume can now reside in a separate panel or with any other indicator.
    Once Volume not in price panel it takes the whole vertical size of the panel.
  • Infrastructure to display events, news, split, dividend and patterns on Chart with
    new Signals – Interface.
  • API SetZoomOnDates to zoom on a specific date range with padding of selected number of candles on each side.
  • Callbacks to load and save Technical analysis, which are safe:
    events.chart.onCanSaveTA and events.chart.onCanLoadTA
  • Panel title can optionally have a collapse / expand button to show/hide
    additional indicators on the panel.
  • Time-frame display can optionally be a time-scale select drop-box

Fixes:

  • Several Volume based indicators (CMF and OBV).

Version 6.1.1

Versions

Updates:

  • Performance improvements.
    • Code efficiency
    • Caching for better JQuery searches.
    • Reduce search when components are invisible or not-loaded.

New Features:

  • Panel title can collapse to save more space. Enabled via layout configuration.
  • Logging systems by level (debug, error …)
  • Add support for local storage to save information at user computer.
  • New events for system global properties
  • “fillOpacity2” attribute for price area to enable different opacity for fill and fill2 colors.
  • API GetPriceType to get the current price type.
  • API SetPriceTypeStyle to set the new style for a specific price-type.
  • API CleanUp to clear inside references of chart.
  • Support additional majors, called “user majors” to allow having platform’s majors along side of user selected majors.

Fixes:

  • Problem with add new item for majors if majors menu is empty.
  • Problem with add new item for compare if compare menu is empty
  • Problem with add new item for indicators if compare indicators is empty
  • In RTL the vertical axis shows incorrectly. The labels alignment is wrong.

Price legend collapse

API

Add to layout file , block  “collapselegend”

Where
collapseopen:false|true
Status for start show legend or hide

title_1and title_2
Symbol for show / hide legend

Mobile support

API

For best performance on mobile system , chart supports enabling off/on the following modules:

Off|On

Add to  “ProChart_InitLayout” event

 

Price as Area with Gradient Fill

Features

Starting from version 5.3.x it is possible to enable gradient fill for Area price-type.
It requires editing the relevant “chart.css.json.js for” file,  and adding a “fill2” and “fillOpacity” attributes with the required color and opacity.

You can locate the entry via price->area.

Solid fill:

 

Gradient fill version 5.3.x:

Gradient fill version 5.4.x:

stroke is the line color.
fill and fill2 are the gradient’s starting and ending colors.
fillOpacity is the gradient opacity.
fillOpacity2 is the gradient opacity for fill 2 (supported from version 5.4.0 and above).

 

Switch Expiration Mode

API

Expiry Mode

The “Expiration Mode” enables the Chart to stop data updates, based on a specified “expire” date. Any new data afterwards will not update the Chart.
In regular mode the Chart shifts the data to the left. In “Expiration Mode” the Chart fills from left to right, showing all the data including the future dates area.
The following API enables switching this mode ON or OFF on the fly.

 

StopExpiration
Disable expiration mode and reset buffers accordingly.

UpdateExpirationField
Update the expiration date and enable expiration mode if not already enabled.

API-Events

API
Events demo

Loader

LoaderInitComplete
Complete load the Chart’s library files

Chart (Layout)

readyComplete
Complete read all files for the layout

initComplete
Complete init all properties and objects for the layout

onFullPage
Event when the chart opens to full screen or not

onPreloadStart
Event when the “preload” (wait animation) start

onPreloadFinished
Event when the “preload” (wait animation) finished

Chart object

createComplete
The chart object is successfully created and ready to work

onChangeMajorsFavorites
Change majors favorites in the chart

onChangeComparesFavorites
Change compares favorites in the chart

onChangeIndicatorsFavorites
Change indicators favorites in the chart

onChangeSymbol
Change current symbol in the chart

onChangeTimeframe
Change current timeframe in the chart

onTimeZoneChanged
Change current time zone in the chart

onPriceTypeChange
Change current price type in the chart

onLastUpdateChange
The event occurs when the data is updated

Chart (Shape)

onStartDrawing
The event happens when we start drawing a shape

onStopDrawing
The event occurs when we have finished drawing a shape

onDeleted
The event occurs when we delete a shape

onSelectChange
An event occurs when we select another shape

onEndDrag
The event occurs when we finish moving the shape

onEndSize
The event occurs when we finish moving the resizing of the shape

onDeleted
The event occurs when we have already deleted the figure

Chart (Study|Indicators)

onUpdated
The event occurs when we change the parameters in the indicator

onAdded
The event occurs when the indicator is added

onDeleted
The event occurs when we delete the indicator

Loclization

onChange
The event occurs when the language changes

Version 5.3.3

Features, Versions

Updates:

  • Added more events callback for Shape and Indicators to notify on adding, modifying, dragging and resizing.
    Can be used to collect BI or persist user state after each change.