veeramani.arthanari

Members
  • Content count

    2
  • Joined

  • Last visited

About veeramani.arthanari

  • Rank
    Forum Newbie
  1. plotToolText for stacked area 2d total

    I'm using stacked area 2d, I've enabled drawcrossline. So far I've only two sets of data, so I've two stacked area graph. When I put plotToolText with Macros, it's showing two graphs of values without any issues. plotToolText: '$seriesName, $dataValue, $value' My tooltip will look something like this, I need to have the sum of the two stacked area graph values in the graph like below.? is it possible to do.? Thanks in advance.
  2. I'm trying to log the dataPlotClick event for stacked area 2d chart. But in iOS, the event is not triggering for any events. I've not tried yet in Android. But I've to make it work for both Platforms. Any help will be appreciated. my Code this.state = { type: 'column2d', width: '99%', height: '95%', dataFormat: 'json', dataSource: undefined, containerBackgroundColor: '#FFFFFF', calendarReturnsData: undefined, dataEmptyMessage: 'Insufficient data available', baseChartMessageFontSize: '16', baseChartMessageColor: '#454545', detailsBtnStateHolder: true, events: { dataplotclick: (e, a) => { Alert.alert(`You clicked on ${e.data.categoryLabel}`); } } }; In render method, I'm destructuring all the variables and assigning it to Fushion Chart. <FusionCharts type={type} width={width} height={height} dataFormat={dataFormat} dataSource={dataSource} containerBackgroundColor={containerBackgroundColor} dataEmptyMessage={dataEmptyMessage} baseChartMessageFontSize={baseChartMessageFontSize} baseChartMessageColor={baseChartMessageColor} events={events} libraryPath={ Platform.OS === 'ios' ? fusionChartiOSPath : fusionChartAndroidPath } />